﻿


using KstopaSmartPlc.Enums;
using KstopaSmartPlc.Monitoring.Dto;
using KstopaSmartPlc.Services.Smart;
using KstopaSmartPlc.Services.Smart.Dto;
using KstopaSmartPlc.Utils;
using Prism.Services.Dialogs;
using System.Configuration;

namespace OP20.ViewModels
{
    public class MainWindowViewModel : BindableBase
    {
        private readonly IRegionManager _regionManager;
        private readonly ISmartService _smartService;
        private readonly IMapper _mapper;
        private readonly IDialogService _dialogService;
        private DispatcherTimer dispatcherTimer;
        public MainWindowViewModel(IRegionManager regionManager, ISmartService smartService, IMapper mapper, IDialogService dialogService)
        {
            _regionManager = regionManager;
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.AllStationView);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST01View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST02View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST03View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST04View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST05View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST06View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST08View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST10View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST11View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST12View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST13View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST14View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.ST15View);
            _regionManager.RegisterViewWithRegion(PrismManager.MainViewRegionName, AppViews.AlarmsManagerView);
            _smartService = smartService;
            _smartService.OnSmartStateCallBack = OnSmartStateCallBack;
            _smartService.OnSmartOtherCallBack = OnSmartOtherCallBack;
#if DEBUG
            var Url = ConfigurationManager.AppSettings["DebugUrl"];

#else   
            var Url = ConfigurationManager.AppSettings["ReleaseUrl"];
#endif

            var task = Task.Run(async () => {
                await smartService.SetHostUrl(Url);
                if (await smartService.ConnectAsync())
                {
                    await smartService.JoinGroup("OP20");
                }
                else
                {
                    MessageBox.Show("SmartPLC连接失败,请联系管理员!");
                    // 退出程序
                    Environment.Exit(0);
                }
            });
            task.Wait();

            _mapper = mapper;
            _dialogService = dialogService;
            Tittle = ReadConfigToTittle(ConfigurationManager.AppSettings["LineNo"].ToString());

            //开启定时器任务
            dispatcherTimer = new DispatcherTimer();
            dispatcherTimer.Interval =  TimeSpan.FromMilliseconds(100);
            dispatcherTimer.Tick += OnTick;
            dispatcherTimer.Start();
            //开启后台线程
           // new Thread(new ThreadStart(ThreadSendObjw)) { IsBackground=true }.Start();
        }

        private int _i = 0;
        private bool b=true;
        #region 定时器
        private  void OnTick(object? sender, EventArgs e)
        {

            Date = DateTime.Now.ToString("d");
            Time = DateTime.Now.ToString("T");

            #region 全局数据
            RecipeNo = SystemPLCToPC_Global.PartCode.ToString();
            AllCount = SystemPLCToPC_Global.nCounter;
            OkCount = SystemPLCToPC_Global.nCounterOK;
            NgCount = SystemPLCToPC_Global.nCounterNG;
            OkRate = SystemPLCToPC_Global.nOKrate;
            CT = SystemPLCToPC_Global.nCycleTime;
            Status = SystemPLCToPC_Global.nMachineStatus;
            if (Status == 0)
            {
                MachineStatus = "准备中";
            }
            else if (Status == 1)
            {
                MachineStatus = "报警";

            }
            else if (Status == 2)
            {
                MachineStatus = "运行中";

            }
            else if (Status == 3)
            {
                MachineStatus = "手动模式";

            }
            else if (Status == 4)
            {
                MachineStatus = "循环启动";

            }
            #endregion

            #region 右侧按钮状态

            BtnInitText = SystemPLCToPC_Global.bInitialing ? "初始化中" : "初始化";
            BtnRunText = SystemPLCToPC_Global.bHMIStartLamp ? "启动中" : "启动";
            BtnResetText = SystemPLCToPC_Global.bHMIResetLamp ? "复位" : "复位";
            BtnManualText = SystemPLCToPC_Global.bManualMode ? "手动模式" : "自动模式";
            BtnStopText = SystemPLCToPC_Global.bHMIStopLamp ? "停止中" : "停止";
            BtnInchText = SystemPCToPLC_Global.bHMIStep ? "步进模式中" : "步进模式";
            BtnClearText = SystemPLCToPC_Global.bClearingMat ? "清料中" : "清料";
            BtnClearText = SystemPLCToPC_Global.bClearCmp ? "清料完成" : "清料";



            IsBtnInit = SystemPLCToPC_Global.bInitialing;
            IsBtnRun = SystemPLCToPC_Global.bHMIStartLamp;
            IsBtnReset = SystemPLCToPC_Global.bHMIResetLamp;
            IsBtnStop = SystemPLCToPC_Global.bHMIStopLamp;
            IsBtnManual = SystemPLCToPC_Global.bManualMode;
            IsBtnInch = SystemPCToPLC_Global.bHMIStep;
            IsBtnClear = SystemPLCToPC_Global.bClearingMat;

            #endregion


            #region 初始化按钮触发
            //if (isBtnInit)
            //{
            //    if (DateTime.Now - btnInitStartTime > TimeSpan.FromSeconds(3))
            //    {
            //        //初始化
            //        SystemPCToPLC_Global.bInitialBT = true;
            //        isBtnInit = false;
            //    }
            //}


            //if (isBtnClear)
            //{
            //    if (DateTime.Now - btnClearStartTime > TimeSpan.FromSeconds(3))
            //    {
            //        SystemPCToPLC_Global.bCountClearBtn = true;
            //        isBtnClear = false;
            //    }
            //}
            #endregion



            #region SignalR监听
            //闪烁
            //if (_i >= 5)
            //{
            //    _i = 0;
            //}

            //if (_i <= 3)
            //{
            //    //亮
            //    var a =  _smartService.GetConnected();
            //    if (a == HubConnectionState.Connected)
            //    {
            //        SignalRState = 2;
            //    }
            //    else
            //    {
            //        SignalRState = 1;
            //    }
            //}
            //else
            //{
            //    //灭
            //    SignalRState = 0;
            //}
            //_i++;

            //PLC状态监听

            //if (b)
            //{
            //    PlcState = 0;
            //}
            //b = !b;
            //亮
            var a = _smartService.GetConnected();
            if (a == HubConnectionState.Connected)
            {
                SignalRState = 2;
            }
            else
            {
                SignalRState = 1;
            }
            #endregion
            IsLogin = LoginInfo.IsLogin;

        }

        #endregion

        #region 事件
        private DelegateCommand _CloseCmd;
        public DelegateCommand CloseCmd =>
            _CloseCmd ?? (_CloseCmd = new DelegateCommand(ExecuteCloseCmd));

        void ExecuteCloseCmd()
        {
            Environment.Exit(0);
        }
        private DelegateCommand<string> _OpenCmd;
        public DelegateCommand<string> OpenCmd =>
            _OpenCmd ?? (_OpenCmd = new DelegateCommand<string>(ExecuteOpenCmd));

        void ExecuteOpenCmd(string parameter)
        {
            if (parameter == "Home")
            {
                _regionManager.RequestNavigate(PrismManager.MainViewRegionName, AppViews.AllStationView);
            }
            else if (parameter == "Menu")
            {
                _regionManager.RequestNavigate(PrismManager.MainViewRegionName, AppViews.MenuView);

            }
            else if (parameter == "Warning")
            {
                _regionManager.RequestNavigate(PrismManager.MainViewRegionName, AppViews.AlarmsManagerView);

            }
        }
        /*
        * 清料按钮必须按下3s才会起效果，防止误操作
        */
        //private bool isBtnClear = false;
        //private DateTime btnClearStartTime = DateTime.Now;


        private DelegateCommand _BtnClearMouseDownCmd;
        public DelegateCommand BtnClearMouseDownCmd =>
            _BtnClearMouseDownCmd ?? (_BtnClearMouseDownCmd = new DelegateCommand(ExecuteBtnClearMouseDownCmd));

        void ExecuteBtnClearMouseDownCmd()
        {
            //btnClearStartTime = DateTime.Now;
            //isBtnClear = true;
            SystemPCToPLC_Global.bClearMatBtn = true;

        }

        private DelegateCommand _BtnClearMouseUpCmd;
        public DelegateCommand BtnClearMouseUpCmd =>
            _BtnClearMouseUpCmd ?? (_BtnClearMouseUpCmd = new DelegateCommand(ExecuteBtnClearMouseUpCmd));

        void ExecuteBtnClearMouseUpCmd()
        {
            SystemPCToPLC_Global.bClearMatBtn = false;
            // isBtnClear = false;
        }
        /*
         * 初始化按钮必须按下3s才会起效果，防止误操作
         */
        private bool isBtnInit = false;
        private DateTime btnInitStartTime = DateTime.Now;


        /// <summary>
        /// 初始化按钮按下事件
        /// </summary>
        private DelegateCommand _BtnInitMouseDownCmd;
        public DelegateCommand BtnInitMouseDownCmd =>
            _BtnInitMouseDownCmd ?? (_BtnInitMouseDownCmd = new DelegateCommand(ExecuteBtnInitMouseDownCmd));

        void ExecuteBtnInitMouseDownCmd()
        {
            //btnInitStartTime = DateTime.Now;
            //isBtnInit = true;

            SystemPCToPLC_Global.bInitialBT = true;

        }

        /// <summary>
        /// 初始化按钮松开事件
        /// </summary>
        private DelegateCommand _BtnInitMouseUpCmd;
        public DelegateCommand BtnInitMouseUpCmd =>
            _BtnInitMouseUpCmd ?? (_BtnInitMouseUpCmd = new DelegateCommand(ExecuteBtnInitMouseUpCmd));

        void ExecuteBtnInitMouseUpCmd()
        {
            SystemPCToPLC_Global.bInitialBT = false;
            // isBtnInit = false;
        }

        /// <summary>
        /// 启动按钮按下事件
        /// </summary>
        private DelegateCommand _BtnRunMouseDownCmd;
        public DelegateCommand BtnRunMouseDownCmd =>
            _BtnRunMouseDownCmd ?? (_BtnRunMouseDownCmd = new DelegateCommand(ExecuteBtnRunMouseDownCmd));

        void ExecuteBtnRunMouseDownCmd()
        {
            SystemPCToPLC_Global.bHMIStart = true;
        }

        /// <summary>
        /// 启动按钮松开事件
        /// </summary>
        private DelegateCommand _BtnRunMouseUpCmd;
        public DelegateCommand BtnRunMouseUpCmd =>
            _BtnRunMouseUpCmd ?? (_BtnRunMouseUpCmd = new DelegateCommand(ExecuteBtnRunMouseUpCmd));

        void ExecuteBtnRunMouseUpCmd()
        {
            SystemPCToPLC_Global.bHMIStart = false;
        }
        /// <summary>
        /// 复位按钮按下事件
        /// </summary>
        private DelegateCommand _BtnResetMouseDownCmd;
        public DelegateCommand BtnResetMouseDownCmd =>
            _BtnResetMouseDownCmd ?? (_BtnResetMouseDownCmd = new DelegateCommand(ExecuteBtnResetMouseDownCmd));

        void ExecuteBtnResetMouseDownCmd()
        {
            SystemPCToPLC_Global.bHMIReset = true; // bHMIReset
        }
        /// <summary>
        /// 复位按钮松开事件
        /// </summary>
        private DelegateCommand _BtnResetMouseUpCmd;
        public DelegateCommand BtnResetMouseUpCmd =>
            _BtnResetMouseUpCmd ?? (_BtnResetMouseUpCmd = new DelegateCommand(ExecuteBtnResetMouseUpCmd));

        void ExecuteBtnResetMouseUpCmd()
        {
            SystemPCToPLC_Global.bHMIReset = false; // bHMIReset
        }

        /// <summary>
        /// 停止按钮按下事件
        /// </summary>
        private DelegateCommand _BtnStopMouseDownCmd;
        public DelegateCommand BtnStopMouseDownCmd =>
            _BtnStopMouseDownCmd ?? (_BtnStopMouseDownCmd = new DelegateCommand(ExecuteBtnStopMouseDownCmd));

        void ExecuteBtnStopMouseDownCmd()
        {
            SystemPCToPLC_Global.bHMIStop = true; // bHMIStop
        }
        /// <summary>
        /// 停止按钮松开事件
        /// </summary>
        private DelegateCommand _BtnStopMouseUpCmd;
        public DelegateCommand BtnStopMouseUpCmd =>
            _BtnStopMouseUpCmd ?? (_BtnStopMouseUpCmd = new DelegateCommand(ExecuteBtnStopMouseUpCmd));

        void ExecuteBtnStopMouseUpCmd()
        {
            SystemPCToPLC_Global.bHMIStop = false; // bHMIStop
        }


        private DelegateCommand _BtnManualMouseDownCmd;
        public DelegateCommand BtnManualMouseDownCmd =>
            _BtnManualMouseDownCmd ?? (_BtnManualMouseDownCmd = new DelegateCommand(ExecuteBtnManualMouseDownCmd));

        void ExecuteBtnManualMouseDownCmd()
        {
            SystemPCToPLC_Global.bManualModeBT = true; // 
        }

        private DelegateCommand _BtnManualMouseUpCmd;
        public DelegateCommand BtnManualMouseUpCmd =>
            _BtnManualMouseUpCmd ?? (_BtnManualMouseUpCmd = new DelegateCommand(ExecuteBtnManualMouseUpCmd));

        void ExecuteBtnManualMouseUpCmd()
        {
            SystemPCToPLC_Global.bManualModeBT = false;
        }

        //寸动 取反
        private DelegateCommand _BtnInchCmd;
        public DelegateCommand BtnInchCmd =>
            _BtnInchCmd ?? (_BtnInchCmd = new DelegateCommand(ExecuteBtnInchCmd));

        void ExecuteBtnInchCmd()
        {
            SystemPCToPLC_Global.bHMIStep = !SystemPCToPLC_Global.bHMIStep;
        }


        private DelegateCommand _LoginCmd;
        public DelegateCommand LoginCmd =>
            _LoginCmd ?? (_LoginCmd = new DelegateCommand(ExecuteLoginCmd));

        void ExecuteLoginCmd()
        {
            _dialogService.ShowDialog("LoginView", callback =>
            {
                if (callback.Result == ButtonResult.OK)
                {
                    //LoginInfo.IsLogin = true;
                }
            });
        }

        #endregion

        #region 属性 
        private string _Tittle;
        public string Tittle
        {
            get { return _Tittle; }
            set { SetProperty(ref _Tittle, value); }
        }
        // 日期和时间
        private String _Date;
        public String Date
        {
            get { return _Date; }
            set { SetProperty(ref _Date, value); }
        }

        private String _Time;
        public String Time
        {
            get { return _Time; }
            set { SetProperty(ref _Time, value); }
        }
        //右侧按钮
        private string _BtnClearText;
        public string BtnClearText
        {
            get { return _BtnClearText; }
            set { SetProperty(ref _BtnClearText, value); }
        }

        //初始化
        private string _BtnInitText;
        public string BtnInitText
        {
            get { return _BtnInitText; }
            set { SetProperty(ref _BtnInitText, value); }
        }


        //启动
        private string _BtnRunText;
        public string BtnRunText
        {
            get { return _BtnRunText; }
            set { SetProperty(ref _BtnRunText, value); }
        }
        //

        //复位
        private string _BtnResetText;
        public string BtnResetText
        {
            get { return _BtnResetText; }
            set { SetProperty(ref _BtnResetText, value); }
        }


        //手动
        private string _BtnManualText;
        public string BtnManualText
        {
            get { return _BtnManualText; }
            set { SetProperty(ref _BtnManualText, value); }
        }

        //停止
        private string _BtnStopText;
        public string BtnStopText
        {
            get { return _BtnStopText; }
            set { SetProperty(ref _BtnStopText, value); }
        }


        //寸动
        private string _BtnInchText;
        public string BtnInchText
        {
            get { return _BtnInchText; }
            set { SetProperty(ref _BtnInchText, value); }
        }



        private bool _IsBtnClear;
        public bool IsBtnClear
        {
            get { return _IsBtnClear; }
            set { SetProperty(ref _IsBtnClear, value); }
        }

        private bool _IsBtnInit;
        public bool IsBtnInit
        {
            get { return _IsBtnInit; }
            set { SetProperty(ref _IsBtnInit, value); }
        }

        private bool _IsBtnRun;
        public bool IsBtnRun
        {
            get { return _IsBtnRun; }
            set { SetProperty(ref _IsBtnRun, value); }
        }

        private bool _IsBtnStop;
        public bool IsBtnStop
        {
            get { return _IsBtnStop; }
            set { SetProperty(ref _IsBtnStop, value); }
        }

        private bool _IsBtnManual;
        public bool IsBtnManual
        {
            get { return _IsBtnManual; }
            set { SetProperty(ref _IsBtnManual, value); }
        }

        private bool _IsBtnInch;
        public bool IsBtnInch
        {
            get { return _IsBtnInch; }
            set { SetProperty(ref _IsBtnInch, value); }
        }


        private bool _IsBtnReset;
        public bool IsBtnReset
        {
            get { return _IsBtnReset; }
            set { SetProperty(ref _IsBtnReset, value); }
        }

        #region 产品计数




        private string _RecipeNo;
        public string RecipeNo
        {
            get { return _RecipeNo; }
            set { SetProperty(ref _RecipeNo, value); }
        }

        private string _MachineStatus;
        public string MachineStatus
        {
            get { return _MachineStatus; }
            set { SetProperty(ref _MachineStatus, value); }
        }

        private int _Status;
        public int Status
        {
            get { return _Status; }
            set { SetProperty(ref _Status, value); }
        }


        private int _AllCount;
        public int AllCount
        {
            get { return _AllCount; }
            set { SetProperty(ref _AllCount, value); }
        }

        private int _OkCount;
        public int OkCount
        {
            get { return _OkCount; }
            set { SetProperty(ref _OkCount, value); }
        }

        private int _NgCount;
        public int NgCount
        {
            get { return _NgCount; }
            set { SetProperty(ref _NgCount, value); }
        }

        private float _OkRate;
        public float OkRate
        {
            get { return _OkRate; }
            set { SetProperty(ref _OkRate, value); }
        }

        private float _CT;
        public float CT
        {
            get { return _CT; }
            set { SetProperty(ref _CT, value); }
        }


        #endregion


        private int _SignalRState;
        public int SignalRState
        {
            get { return _SignalRState; }
            set { SetProperty(ref _SignalRState, value); }
        }

        private int _PlcState;
        public int PlcState
        {
            get { return _PlcState; }
            set { SetProperty(ref _PlcState, value); }
        }
        private bool _IsLogin;
        public bool IsLogin
        {
            get { return _IsLogin; }
            set { SetProperty(ref _IsLogin, value); }
        }
        #endregion

        #region 标题转换

        private string ReadConfigToTittle(string config)
        {
            if (config == "1") { return "一线点火管OP20"; }
            else if (config == "2") { return "二线点火管OP20"; }
            else if (config == "3") { return "三线点火管OP20"; }
            else if (config == "4") { return "四线点火管OP20"; }
            else return "点火管OP20";
        }
        #endregion

        #region 其他区事件订阅

        private bool IsFirst = true;
        private bool IsFirst2 = true;
        /// <summary>
        /// 读
        /// </summary>
        /// <param name="output"></param>
        private void ParseSignalRObjR(SiemensOtherSignalROutput output)
        {

            ///参数区只读一次
            if (output.SiemensOtherInfo.ObjWClassName == nameof(ClassOP20Parameter))
            {

                if (IsFirst)
                {
                    var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20Parameter>();

                    ST4ServoParam_Global.nAcc = objw.ClassOP20ParamServoArr_4[0].P_S_Acc;
                    ST4ServoParam_Global.nDec = objw.ClassOP20ParamServoArr_4[0].P_S_Dec;
                    ST4ServoParam_Global.Override = objw.ClassOP20ParamServoArr_4[0].P_S_Override;
                    ST4ServoParam_Global.nHomeSpeed = objw.ClassOP20ParamServoArr_4[0].P_S_HomeSpeed;
                    ST4ServoParam_Global.nHomePos = objw.ClassOP20ParamServoArr_4[0].P_S_HomePos;
                    ST4ServoParam_Global.nJogSpeed = objw.ClassOP20ParamServoArr_4[0].P_S_JogSpeed;
                    ST4ServoParam_Global.nHomeMode = objw.ClassOP20ParamServoArr_4[0].P_S_HomeMode;
                    ST4ServoParam_Global.aWork[0].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[0].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[0].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[0].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[1].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[1].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[1].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[1].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[2].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[2].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[2].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[2].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[3].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[3].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[3].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[3].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[4].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[4].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[4].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[4].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[5].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[5].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[5].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[5].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[6].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[6].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[6].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[6].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[7].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[7].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[7].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[7].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[8].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[8].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[8].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[8].P_S_WorkSpeed;
                    ST4ServoParam_Global.aWork[9].aWorkPos = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[9].P_S_WorkPos;
                    ST4ServoParam_Global.aWork[9].aWorkSpeed = objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[9].P_S_WorkSpeed;



                    ST8ServoParam_Global.nAcc = objw.ClassOP20ParamServoArr_4[1].P_S_Acc;
                    ST8ServoParam_Global.nDec = objw.ClassOP20ParamServoArr_4[1].P_S_Dec;
                    ST8ServoParam_Global.Override = objw.ClassOP20ParamServoArr_4[1].P_S_Override;
                    ST8ServoParam_Global.nHomeSpeed = objw.ClassOP20ParamServoArr_4[1].P_S_HomeSpeed;
                    ST8ServoParam_Global.nHomePos = objw.ClassOP20ParamServoArr_4[1].P_S_HomePos;
                    ST8ServoParam_Global.nJogSpeed = objw.ClassOP20ParamServoArr_4[1].P_S_JogSpeed;
                    ST8ServoParam_Global.nHomeMode = objw.ClassOP20ParamServoArr_4[1].P_S_HomeMode;
                    ST8ServoParam_Global.aWork[0].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[0].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[0].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[0].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[1].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[1].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[1].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[1].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[2].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[2].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[2].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[2].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[3].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[3].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[3].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[3].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[4].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[4].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[4].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[4].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[5].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[5].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[5].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[5].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[6].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[6].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[6].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[6].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[7].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[7].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[7].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[7].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[8].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[8].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[8].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[8].P_S_WorkSpeed;
                    ST8ServoParam_Global.aWork[9].aWorkPos = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[9].P_S_WorkPos;
                    ST8ServoParam_Global.aWork[9].aWorkSpeed = objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[9].P_S_WorkSpeed;






                    InductorParam_Global.aByPass = objw.ClassOP20ParameterSensor.OP20_P_I_ByPassArr;
                    InductorParam_Global.aDelay = objw.ClassOP20ParameterSensor.OP20_P_I_DelayArr;




                    //TechniqueParam_Global.ST1WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST1WeighLimit.LimitL;
                    //TechniqueParam_Global.ST1WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST1WeighLimit.LimitH;
                    //TechniqueParam_Global.ST2HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST2HightLimit.LimitL;
                    //TechniqueParam_Global.ST2HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST2HightLimit.LimitH;
                    //TechniqueParam_Global.ST5HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5HightLimit.LimitL;
                    //TechniqueParam_Global.ST5HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5HightLimit.LimitH;

                    //TechniqueParam_Global.ST5PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5PressLimit.LimitL;
                    //TechniqueParam_Global.ST5PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5PressLimit.LimitH;

                    //TechniqueParam_Global.ST6WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST6WeighLimit.LimitL;
                    //TechniqueParam_Global.ST6WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST6WeighLimit.LimitH;

                    //TechniqueParam_Global.ST10PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST10PressureLimit.LimitL;
                    //TechniqueParam_Global.ST10PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST10PressureLimit.LimitH;

                    //TechniqueParam_Global.ST11WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParamerterTechnologyST11WeighLimit.LimitL;
                    //TechniqueParam_Global.ST11WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParamerterTechnologyST11WeighLimit.LimitH;

                    //TechniqueParam_Global.ST13HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13HightLimit.LimitL;
                    //TechniqueParam_Global.ST13HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13HightLimit.LimitH;


                    //TechniqueParam_Global.ST13PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13PressureLimit.LimitL;
                    //TechniqueParam_Global.ST13PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13PressureLimit.LimitH;


                    //TechniqueParam_Global.ST13ODLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13ODLimit.LimitL;
                    //TechniqueParam_Global.ST13ODLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13ODLimit.LimitH;


                    //TechniqueParam_Global.ST4TemperatureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4TemperatureLimit.LimitL;
                    //TechniqueParam_Global.ST4TemperatureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4TemperatureLimit.LimitH;


                    //TechniqueParam_Global.ST4humidnessLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4humidnessLimit.LimitL;
                    //TechniqueParam_Global.ST4humidnessLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4humidnessLimit.LimitH;


                    UseCount_Global.nParaData1 = objw.ClassOP20ParameterLifeControl.LifeControlArr[0];
                    UseCount_Global.nParaData2 = objw.ClassOP20ParameterLifeControl.LifeControlArr[1];
                    UseCount_Global.nParaData3 = objw.ClassOP20ParameterLifeControl.LifeControlArr[2];
                    UseCount_Global.nParaData4 = objw.ClassOP20ParameterLifeControl.LifeControlArr[3];
                    UseCount_Global.nParaData5 = objw.ClassOP20ParameterLifeControl.LifeControlArr[4];
                    UseCount_Global.nParaData6 = objw.ClassOP20ParameterLifeControl.LifeControlArr[5];


                    WeightTime_Global.ST1WeightSettingTime = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[0];
                    WeightTime_Global.ST6WeightSettingTime = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[1];
                    WeightTime_Global.ST11WeightSettingTime = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[2];

                    TestHigh_Global.testValues[0].CurrentValue = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].CalibrationValue;
                    TestHigh_Global.testValues[0].ErrorRange = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].ErrorRange;
                    TestHigh_Global.testValues[0].SettingTime = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].SettingTime;

                    TestHigh_Global.testValues[1].CurrentValue = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].CalibrationValue;
                    TestHigh_Global.testValues[1].ErrorRange = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].ErrorRange;
                    TestHigh_Global.testValues[1].SettingTime = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].SettingTime;

                    TestHigh_Global.testValues[2].CurrentValue = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].CalibrationValue;
                    TestHigh_Global.testValues[2].ErrorRange = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].ErrorRange;
                    TestHigh_Global.testValues[2].SettingTime = objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].SettingTime;


                    TestPressure_Global.testPressures[0].CurrentValue = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].CalibrationValue;
                    TestPressure_Global.testPressures[0].ErrorRange = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].ErrorRange;
                    TestPressure_Global.testPressures[0].SettingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].SettingTime;
                    TestPressure_Global.testPressures[0].HoldingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].DwellTime;

                    TestPressure_Global.testPressures[1].CurrentValue = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].CalibrationValue;
                    TestPressure_Global.testPressures[1].ErrorRange = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].ErrorRange;
                    TestPressure_Global.testPressures[1].SettingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].SettingTime;
                    TestPressure_Global.testPressures[1].HoldingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].DwellTime;


                    TestPressure_Global.testPressures[2].CurrentValue = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].CalibrationValue;
                    TestPressure_Global.testPressures[2].ErrorRange = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].ErrorRange;
                    TestPressure_Global.testPressures[2].SettingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].SettingTime;
                    TestPressure_Global.testPressures[2].HoldingTime = objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].DwellTime;

                    WaitingTime_Global.Time01 = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[0];
                    WaitingTime_Global.Time02 = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[1];
                    WaitingTime_Global.Time03 = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[2];
                    WaitingTime_Global.Time04 = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[3];
                    WaitingTime_Global.Time05 = objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[4];


                    ContinuousNGCount_GLobal.nParaData0 = objw.ClassOP20ParameterStationNG.StationNGArr[0];
                    ContinuousNGCount_GLobal.nParaData1 = objw.ClassOP20ParameterStationNG.StationNGArr[1];
                    ContinuousNGCount_GLobal.nParaData2 = objw.ClassOP20ParameterStationNG.StationNGArr[2];
                    ContinuousNGCount_GLobal.nParaData3 = objw.ClassOP20ParameterStationNG.StationNGArr[3];
                    ContinuousNGCount_GLobal.nParaData4 = objw.ClassOP20ParameterStationNG.StationNGArr[4];
                    ContinuousNGCount_GLobal.nParaData5 = objw.ClassOP20ParameterStationNG.StationNGArr[5];
                    ContinuousNGCount_GLobal.nParaData6 = objw.ClassOP20ParameterStationNG.StationNGArr[6];
                    ContinuousNGCount_GLobal.nParaData7 = objw.ClassOP20ParameterStationNG.StationNGArr[7];
                    ContinuousNGCount_GLobal.nParaData8 = objw.ClassOP20ParameterStationNG.StationNGArr[8];
                    ContinuousNGCount_GLobal.nParaData9 = objw.ClassOP20ParameterStationNG.StationNGArr[9];


                    ContinuousNGCount_GLobal.nParaData10 = objw.ClassOP20ParameterStationNG.StationNGArr[10];
                    ContinuousNGCount_GLobal.nParaData11 = objw.ClassOP20ParameterStationNG.StationNGArr[11];
                    ContinuousNGCount_GLobal.nParaData12 = objw.ClassOP20ParameterStationNG.StationNGArr[12];
                    ContinuousNGCount_GLobal.nParaData13 = objw.ClassOP20ParameterStationNG.StationNGArr[13];
                    ContinuousNGCount_GLobal.nParaData14 = objw.ClassOP20ParameterStationNG.StationNGArr[14];
                    ContinuousNGCount_GLobal.nParaData15 = objw.ClassOP20ParameterStationNG.StationNGArr[15];
                    ContinuousNGCount_GLobal.nParaData16 = objw.ClassOP20ParameterStationNG.StationNGArr[16];
                    ContinuousNGCount_GLobal.nParaData17 = objw.ClassOP20ParameterStationNG.StationNGArr[17];
                    ContinuousNGCount_GLobal.nParaData18 = objw.ClassOP20ParameterStationNG.StationNGArr[18];
                    ContinuousNGCount_GLobal.nParaData19 = objw.ClassOP20ParameterStationNG.StationNGArr[19];


                    ContinuousNGCount_GLobal.nParaData20 = objw.ClassOP20ParameterStationNG.StationNGArr[20];
                    ContinuousNGCount_GLobal.nParaData21 = objw.ClassOP20ParameterStationNG.StationNGArr[21];
                    ContinuousNGCount_GLobal.nParaData22 = objw.ClassOP20ParameterStationNG.StationNGArr[22];
                    ContinuousNGCount_GLobal.nParaData23 = objw.ClassOP20ParameterStationNG.StationNGArr[23];
                    ContinuousNGCount_GLobal.nParaData24 = objw.ClassOP20ParameterStationNG.StationNGArr[24];
                    ContinuousNGCount_GLobal.nParaData25 = objw.ClassOP20ParameterStationNG.StationNGArr[25];
                    ContinuousNGCount_GLobal.nParaData26 = objw.ClassOP20ParameterStationNG.StationNGArr[26];
                    ContinuousNGCount_GLobal.nParaData27 = objw.ClassOP20ParameterStationNG.StationNGArr[27];
                    ContinuousNGCount_GLobal.nParaData28 = objw.ClassOP20ParameterStationNG.StationNGArr[28];
                    ContinuousNGCount_GLobal.nParaData29 = objw.ClassOP20ParameterStationNG.StationNGArr[29];


                    SetPressure_Global.pressures = objw.ClassOP20SetPressure.OP20SetPressureArr;
                    IsFirst = false;

                }
            }


            if (output.SiemensOtherInfo.ObjWClassName == nameof(ClassOP20CylinderW))
            {
                if (IsFirst2)
                {
                    var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20CylinderW>();

                    ST01GKCarrySpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST01GKCarrySpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST01GKCarrySpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST01GKCarrySpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BackTimeW; ;
                    ST01GKCarrySpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST01GKCarryUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST01GKCarryUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST01WeighUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST01WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST01WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST01WeighUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST01WeighUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_GoTimeW;

                    ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_GoTimeW;

                    ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[0];
                    ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[1];
                    ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[2];
                    ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BackTimeW;
                    ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_GoTimeW;


                    ST01CarryInhaleCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[0];
                    ST01CarryInhaleCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[1];
                    ST01CarryInhaleCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[2];
                    ST01CarryInhaleCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BackTimeW;
                    ST01CarryInhaleCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_GoTimeW;

                    ST02TestHighUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST02TestHighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST02TestHighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST02TestHighUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST02TestHighUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_GoTimeW;



                    ST04JackCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST04JackCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST04JackCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST04JackCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST04JackCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_GoTimeW;

                    ST04SpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST04SpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST04SpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST04SpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST04SpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST04Door01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST04Door01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST04Door01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST04Door01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST04Door01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_GoTimeW;


                    ST04BowlCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST04BowlCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST04BowlCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST04BowlCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST04BowlCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_GoTimeW;


                    ST04Door02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[0];
                    ST04Door02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[1];
                    ST04Door02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[2];
                    ST04Door02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BackTimeW;
                    ST04Door02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_GoTimeW;

                    ST04Vibrator01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[0];
                    ST04Vibrator01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[1];
                    ST04Vibrator01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[2];
                    ST04Vibrator01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BackTimeW;
                    ST04Vibrator01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_GoTimeW;

                    ST04Vibrator02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[0];
                    ST04Vibrator02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[1];
                    ST04Vibrator02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[2];
                    ST04Vibrator02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BackTimeW;
                    ST04Vibrator02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_GoTimeW;

                    ST05UpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST05UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST05UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST05UpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST05UpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_GoTimeW;

                    ST05ClampCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST05ClampCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST05ClampCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST05ClampCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST05ClampCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST05InhaleCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST05InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST05InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST05InhaleCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST05InhaleCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_GoTimeW;

                    ST06SpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST06SpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST06SpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST06SpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST06SpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_GoTimeW;

                    ST06SpinUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST06SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST06SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST06SpinUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST06SpinUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST06WeighUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST06WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST06WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST06WeighUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST06WeighUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_GoTimeW;

                    ST06Clamp12Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST06Clamp12Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST06Clamp12Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST06Clamp12Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST06Clamp12Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_GoTimeW;

                    ST08JackCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST08JackCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST08JackCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST08JackCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST08JackCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST08SpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST08SpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST08SpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST08SpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST08SpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST08Door01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST08Door01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST08Door01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST08Door01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST08Door01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_GoTimeW;


                    ST08BowlCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST08BowlCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST08BowlCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST08BowlCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST08BowlCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_GoTimeW;


                    ST08Door02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[0];
                    ST08Door02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[1];
                    ST08Door02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[2];
                    ST08Door02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BackTimeW;
                    ST08Door02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_GoTimeW;


                    ST08Vibrator01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[0];
                    ST08Vibrator01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[1];
                    ST08Vibrator01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[2];
                    ST08Vibrator01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BackTimeW;
                    ST08Vibrator01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_GoTimeW;


                    ST08Vibrator02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[0];
                    ST08Vibrator02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[1];
                    ST08Vibrator02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[2];
                    ST08Vibrator02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BackTimeW;
                    ST08Vibrator02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_GoTimeW;


                    ST08Door03Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[0];
                    ST08Door03Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[1];
                    ST08Door03Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[2];
                    ST08Door03Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BackTimeW;
                    ST08Door03Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_GoTimeW;

                    ST10UpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST10UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST10UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST10UpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST10UpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST10InhaleCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST10InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST10InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST10InhaleCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST10InhaleCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_GoTimeW;


                    ST10ClampCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST10ClampCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST10ClampCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST10ClampCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST10ClampCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_GoTimeW;


                    ST11SpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST11SpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST11SpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST11SpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST11SpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST11SpinUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST11SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST11SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST11SpinUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST11SpinUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST11WeighUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST11WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST11WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST11WeighUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST11WeighUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_GoTimeW;

                    ST11Clamp12Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST11Clamp12Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST11Clamp12Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST11Clamp12Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST11Clamp12Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_GoTimeW;

                    ST12SpinCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST12SpinCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST12SpinCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST12SpinCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST12SpinCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_GoTimeW;

                    ST12UpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST12UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST12UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST12UpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST12UpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_GoTimeW;

                    ST12SpinUpDownCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST12SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST12SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST12SpinUpDownCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST12SpinUpDownCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_GoTimeW;

                    ST12PressInCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST12PressInCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST12PressInCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST12PressInCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST12PressInCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_GoTimeW;

                    ST12JiaZhuaCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[0];
                    ST12JiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[1];
                    ST12JiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[2];
                    ST12JiaZhuaCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BackTimeW;
                    ST12JiaZhuaCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_GoTimeW;

                    ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[0];
                    ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[1];
                    ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[2];
                    ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BackTimeW;
                    ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_GoTimeW;

                    ST12InhaleCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[0];
                    ST12InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[1];
                    ST12InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[2];
                    ST12InhaleCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BackTimeW;
                    ST12InhaleCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_GoTimeW;


                    ST13PressInCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST13PressInCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST13PressInCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST13PressInCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST13PressInCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST14CarryUpDown01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST14CarryUpDown01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST14CarryUpDown02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST14CarryUpDown02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_GoTimeW;


                    ST14ChuoWei01Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[0];
                    ST14ChuoWei01Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[1];
                    ST14ChuoWei01Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[2];
                    ST14ChuoWei01Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BackTimeW;
                    ST14ChuoWei01Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_GoTimeW;


                    ST14ChuoWei02Cy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[0];
                    ST14ChuoWei02Cy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[1];
                    ST14ChuoWei02Cy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[2];
                    ST14ChuoWei02Cy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BackTimeW;
                    ST14ChuoWei02Cy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_GoTimeW;


                    ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[0];
                    ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[1];
                    ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[2];
                    ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BackTimeW;
                    ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_GoTimeW;


                    ST15DownPushCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[0];
                    ST15DownPushCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[1];
                    ST15DownPushCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[2];
                    ST15DownPushCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BackTimeW;
                    ST15DownPushCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_GoTimeW;


                    ST15InhaleCy.cylinderPCToPLC_Global.bManualBT = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[0];
                    ST15InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[1];
                    ST15InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[2];
                    ST15InhaleCy.cylinderPCToPLC_Global.tBackTime = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BackTimeW;
                    ST15InhaleCy.cylinderPCToPLC_Global.tGoTime = objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_GoTimeW;
                    IsFirst2 = false;
                }
            }
            //读
            switch (output.SiemensOtherInfo.ObjRClassName)
            {
                case nameof(ClassOP20ServoR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOP20ServoR>();



                        ST4Servo_Global.ServoPLCToPC_Global.bPowerOK = objr.ClassOP20ServoRArr_4[0].Servo_BitR[0];
                        ST4Servo_Global.ServoPLCToPC_Global.bHomeCmp = objr.ClassOP20ServoRArr_4[0].Servo_BitR[1];
                        ST4Servo_Global.ServoPLCToPC_Global.bForwardMoving = objr.ClassOP20ServoRArr_4[0].Servo_BitR[2];
                        ST4Servo_Global.ServoPLCToPC_Global.bReverseMoving = objr.ClassOP20ServoRArr_4[0].Servo_BitR[3];
                        ST4Servo_Global.ServoPLCToPC_Global.bManualMoving = objr.ClassOP20ServoRArr_4[0].Servo_BitR[4];
                        ST4Servo_Global.ServoPLCToPC_Global.bNotInAutoPos = objr.ClassOP20ServoRArr_4[0].Servo_BitR[5];
                        ST4Servo_Global.ServoPLCToPC_Global.bAxisError = objr.ClassOP20ServoRArr_4[0].Servo_BitR[6];
                        ST4Servo_Global.ServoPLCToPC_Global.bAxisAlarm = objr.ClassOP20ServoRArr_4[0].Servo_BitR[7];
                        ST4Servo_Global.ServoPLCToPC_Global.bLimmitAlarm = objr.ClassOP20ServoRArr_4[0].Servo_BitR[8];
                        ST4Servo_Global.ServoPLCToPC_Global.bRelative = objr.ClassOP20ServoRArr_4[0].Servo_BitR[8];
                        ST4Servo_Global.ServoPLCToPC_Global.bMDI_Mode = objr.ClassOP20ServoRArr_4[0].Servo_BitR[9];
                        ST4Servo_Global.ServoPLCToPC_Global.bHomeDirection = objr.ClassOP20ServoRArr_4[0].Servo_BitR[8];
                        ST4Servo_Global.ServoPLCToPC_Global.bManualLock = objr.ClassOP20ServoRArr_4[0].Servo_BitR[10];
                        ST4Servo_Global.ServoPLCToPC_Global.bAutoLock = objr.ClassOP20ServoRArr_4[0].Servo_BitR[11];
                        ST4Servo_Global.ServoPLCToPC_Global.bOriginSensor = objr.ClassOP20ServoRArr_4[0].Servo_BitR[12];
                        ST4Servo_Global.ServoPLCToPC_Global.bCcwLimitSensor = objr.ClassOP20ServoRArr_4[0].Servo_BitR[13];
                        ST4Servo_Global.ServoPLCToPC_Global.bAxisBusy = objr.ClassOP20ServoRArr_4[0].Servo_BitR[14];
                        ST4Servo_Global.ServoPLCToPC_Global.bBreakOut = objr.ClassOP20ServoRArr_4[0].Servo_BitR[15];
                        ST4Servo_Global.ServoPLCToPC_Global.nActualPosition = objr.ClassOP20ServoRArr_4[0].Servo_ActualPositionR;
                        ST4Servo_Global.ServoPLCToPC_Global.nActualVelocity = objr.ClassOP20ServoRArr_4[0].Servo_ActualVelocityR;
                        ST4Servo_Global.ServoPLCToPC_Global.nAutoIndex = objr.ClassOP20ServoRArr_4[0].Servo_AutoIndexR;
                        ST4Servo_Global.ServoPLCToPC_Global.nCurrIndex = objr.ClassOP20ServoRArr_4[0].Servo_CurrIndexR;
                        ST4Servo_Global.ServoPLCToPC_Global.nAralmHMIdiaplay = objr.ClassOP20ServoRArr_4[0].Servo_AralmHMIdiaplayR;
                        ST4Servo_Global.ServoPLCToPC_Global.nFaultCode = objr.ClassOP20ServoRArr_4[0].Servo_FaultCodeR;

                        ST8Servo_Global.ServoPLCToPC_Global.bPowerOK = objr.ClassOP20ServoRArr_4[1].Servo_BitR[0];
                        ST8Servo_Global.ServoPLCToPC_Global.bHomeCmp = objr.ClassOP20ServoRArr_4[1].Servo_BitR[1];
                        ST8Servo_Global.ServoPLCToPC_Global.bForwardMoving = objr.ClassOP20ServoRArr_4[1].Servo_BitR[2];
                        ST8Servo_Global.ServoPLCToPC_Global.bReverseMoving = objr.ClassOP20ServoRArr_4[1].Servo_BitR[3];
                        ST8Servo_Global.ServoPLCToPC_Global.bManualMoving = objr.ClassOP20ServoRArr_4[1].Servo_BitR[4];
                        ST8Servo_Global.ServoPLCToPC_Global.bNotInAutoPos = objr.ClassOP20ServoRArr_4[1].Servo_BitR[5];
                        ST8Servo_Global.ServoPLCToPC_Global.bAxisError = objr.ClassOP20ServoRArr_4[1].Servo_BitR[6];
                        ST8Servo_Global.ServoPLCToPC_Global.bAxisAlarm = objr.ClassOP20ServoRArr_4[1].Servo_BitR[7];
                        ST8Servo_Global.ServoPLCToPC_Global.bLimmitAlarm = objr.ClassOP20ServoRArr_4[1].Servo_BitR[8];
                        ST8Servo_Global.ServoPLCToPC_Global.bRelative = objr.ClassOP20ServoRArr_4[1].Servo_BitR[8];
                        ST8Servo_Global.ServoPLCToPC_Global.bMDI_Mode = objr.ClassOP20ServoRArr_4[1].Servo_BitR[9];
                        ST8Servo_Global.ServoPLCToPC_Global.bHomeDirection = objr.ClassOP20ServoRArr_4[1].Servo_BitR[8];
                        ST8Servo_Global.ServoPLCToPC_Global.bManualLock = objr.ClassOP20ServoRArr_4[1].Servo_BitR[10];
                        ST8Servo_Global.ServoPLCToPC_Global.bAutoLock = objr.ClassOP20ServoRArr_4[1].Servo_BitR[11];
                        ST8Servo_Global.ServoPLCToPC_Global.bOriginSensor = objr.ClassOP20ServoRArr_4[1].Servo_BitR[12];
                        ST8Servo_Global.ServoPLCToPC_Global.bCcwLimitSensor = objr.ClassOP20ServoRArr_4[1].Servo_BitR[13];
                        ST8Servo_Global.ServoPLCToPC_Global.bAxisBusy = objr.ClassOP20ServoRArr_4[1].Servo_BitR[14];
                        ST8Servo_Global.ServoPLCToPC_Global.bBreakOut = objr.ClassOP20ServoRArr_4[1].Servo_BitR[15];
                        ST8Servo_Global.ServoPLCToPC_Global.nActualPosition = objr.ClassOP20ServoRArr_4[1].Servo_ActualPositionR;
                        ST8Servo_Global.ServoPLCToPC_Global.nActualVelocity = objr.ClassOP20ServoRArr_4[1].Servo_ActualVelocityR;
                        ST8Servo_Global.ServoPLCToPC_Global.nAutoIndex = objr.ClassOP20ServoRArr_4[1].Servo_AutoIndexR;
                        ST8Servo_Global.ServoPLCToPC_Global.nCurrIndex = objr.ClassOP20ServoRArr_4[1].Servo_CurrIndexR;
                        ST8Servo_Global.ServoPLCToPC_Global.nAralmHMIdiaplay = objr.ClassOP20ServoRArr_4[1].Servo_AralmHMIdiaplayR;
                        ST8Servo_Global.ServoPLCToPC_Global.nFaultCode = objr.ClassOP20ServoRArr_4[1].Servo_FaultCodeR;
                        break;
                    }
                case nameof(ClassOP20CylinderR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOP20CylinderR>();

                        ST01GKCarrySpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST01GKCarrySpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST01GKCarrySpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST01GKCarrySpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;



                        ST01GKCarryUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST01GKCarryUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST01GKCarryUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST01GKCarryUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;


                        ST01WeighUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST01WeighUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST01WeighUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST01WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;


                        ST01WeighJiaZhuaCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST01WeighJiaZhuaCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST01WeighJiaZhuaCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST01WeighJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;

                        ST01LoadMaterialChuoWeiCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[4].Cylinder_BitR[0];
                        ST01LoadMaterialChuoWeiCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[4].Cylinder_BitR[1];
                        ST01LoadMaterialChuoWeiCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[4].Cylinder_StatusR;
                        ST01LoadMaterialChuoWeiCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[4].Cylinder_HmiDisplayR;

                        ST01CarryInhaleCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[5].Cylinder_BitR[0];
                        ST01CarryInhaleCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[5].Cylinder_BitR[1];
                        ST01CarryInhaleCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[5].Cylinder_StatusR;
                        ST01CarryInhaleCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[0].ClassCylinderRArr_15[5].Cylinder_HmiDisplayR;

                        ST02TestHighUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[1].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST02TestHighUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[1].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST02TestHighUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[1].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST02TestHighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[1].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;



                        ST04JackCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST04JackCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST04JackCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST04JackCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;


                        ST04SpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST04SpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST04SpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST04SpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;


                        ST04Door01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST04Door01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST04Door01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST04Door01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;


                        ST04BowlCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST04BowlCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST04BowlCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST04BowlCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;

                        ST04Door02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[4].Cylinder_BitR[0];
                        ST04Door02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[4].Cylinder_BitR[1];
                        ST04Door02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[4].Cylinder_StatusR;
                        ST04Door02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[4].Cylinder_HmiDisplayR;

                        ST04Vibrator01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[5].Cylinder_BitR[0];
                        ST04Vibrator01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[5].Cylinder_BitR[1];
                        ST04Vibrator01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[5].Cylinder_StatusR;
                        ST04Vibrator01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[5].Cylinder_HmiDisplayR;

                        ST04Vibrator02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[6].Cylinder_BitR[0];
                        ST04Vibrator02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[6].Cylinder_BitR[1];
                        ST04Vibrator02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[6].Cylinder_StatusR;
                        ST04Vibrator02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[3].ClassCylinderRArr_15[6].Cylinder_HmiDisplayR;

                        ST05UpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST05UpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST05UpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST05UpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;


                        ST05ClampCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST05ClampCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST05ClampCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST05ClampCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;


                        ST05InhaleCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST05InhaleCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST05InhaleCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST05InhaleCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[4].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;

                        ST06SpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST06SpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST06SpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST06SpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST06SpinUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST06SpinUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST06SpinUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST06SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;

                        ST06WeighUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST06WeighUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST06WeighUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST06WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;



                        ST06Clamp12Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST06Clamp12Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST06Clamp12Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST06Clamp12Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[5].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;


                        ST08JackCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST08JackCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST08JackCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST08JackCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;


                        ST08SpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST08SpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST08SpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST08SpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;



                        ST08Door01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST08Door01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST08Door01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST08Door01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;


                        ST08BowlCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST08BowlCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST08BowlCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST08BowlCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;


                        ST08Door02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[4].Cylinder_BitR[0];
                        ST08Door02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[4].Cylinder_BitR[1];
                        ST08Door02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[4].Cylinder_StatusR;
                        ST08Door02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[4].Cylinder_HmiDisplayR;


                        ST08Vibrator01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[5].Cylinder_BitR[0];
                        ST08Vibrator01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[5].Cylinder_BitR[1];
                        ST08Vibrator01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[5].Cylinder_StatusR;
                        ST08Vibrator01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[5].Cylinder_HmiDisplayR;


                        ST08Vibrator02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[6].Cylinder_BitR[0];
                        ST08Vibrator02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[6].Cylinder_BitR[1];
                        ST08Vibrator02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[6].Cylinder_StatusR;
                        ST08Vibrator02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[6].Cylinder_HmiDisplayR;


                        ST08Door03Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[7].Cylinder_BitR[0];
                        ST08Door03Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[7].Cylinder_BitR[1];
                        ST08Door03Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[7].Cylinder_StatusR;
                        ST08Door03Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[7].ClassCylinderRArr_15[7].Cylinder_HmiDisplayR;


                        ST10UpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST10UpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST10UpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST10UpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;


                        ST10InhaleCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST10InhaleCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST10InhaleCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST10InhaleCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;


                        ST10ClampCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST10ClampCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST10ClampCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST10ClampCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[9].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;

                        ST11SpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST11SpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST11SpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST11SpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST11SpinUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST11SpinUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST11SpinUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST11SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;

                        ST11WeighUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST11WeighUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST11WeighUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST11WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;

                        ST11Clamp12Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST11Clamp12Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST11Clamp12Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST11Clamp12Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[10].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;

                        ST12SpinCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST12SpinCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST12SpinCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST12SpinCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST12UpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST12UpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST12UpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST12UpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;

                        ST12SpinUpDownCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST12SpinUpDownCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST12SpinUpDownCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST12SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;

                        ST12PressInCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST12PressInCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST12PressInCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST12PressInCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;

                        ST12JiaZhuaCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[4].Cylinder_BitR[0];
                        ST12JiaZhuaCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[4].Cylinder_BitR[1];
                        ST12JiaZhuaCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[4].Cylinder_StatusR;
                        ST12JiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[4].Cylinder_HmiDisplayR;

                        ST12SpinJiaZhuaCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[5].Cylinder_BitR[0];
                        ST12SpinJiaZhuaCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[5].Cylinder_BitR[1];
                        ST12SpinJiaZhuaCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[5].Cylinder_StatusR;
                        ST12SpinJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[5].Cylinder_HmiDisplayR;

                        ST12InhaleCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[6].Cylinder_BitR[0];
                        ST12InhaleCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[6].Cylinder_BitR[1];
                        ST12InhaleCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[6].Cylinder_StatusR;
                        ST12InhaleCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[11].ClassCylinderRArr_15[6].Cylinder_HmiDisplayR;

                        ST13PressInCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[12].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST13PressInCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[12].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST13PressInCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[12].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST13PressInCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[12].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST14CarryUpDown01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST14CarryUpDown01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST14CarryUpDown01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST14CarryUpDown01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST14CarryUpDown02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST14CarryUpDown02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST14CarryUpDown02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST14CarryUpDown02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;


                        ST14ChuoWei01Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[3].Cylinder_BitR[0];
                        ST14ChuoWei01Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[3].Cylinder_BitR[1];
                        ST14ChuoWei01Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[3].Cylinder_StatusR;
                        ST14ChuoWei01Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[3].Cylinder_HmiDisplayR;


                        ST14ChuoWei02Cy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[2].Cylinder_BitR[0];
                        ST14ChuoWei02Cy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[2].Cylinder_BitR[1];
                        ST14ChuoWei02Cy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[2].Cylinder_StatusR;
                        ST14ChuoWei02Cy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[2].Cylinder_HmiDisplayR;


                        ST14CarryJiaZhuaCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[4].Cylinder_BitR[0];
                        ST14CarryJiaZhuaCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[4].Cylinder_BitR[1];
                        ST14CarryJiaZhuaCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[4].Cylinder_StatusR;
                        ST14CarryJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[13].ClassCylinderRArr_15[4].Cylinder_HmiDisplayR;

                        ST15DownPushCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[0].Cylinder_BitR[0];
                        ST15DownPushCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[0].Cylinder_BitR[1];
                        ST15DownPushCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[0].Cylinder_StatusR;
                        ST15DownPushCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[0].Cylinder_HmiDisplayR;

                        ST15InhaleCy.cylinderPLCToPC_Global.bOriginSensor = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[1].Cylinder_BitR[0];
                        ST15InhaleCy.cylinderPLCToPC_Global.bWorkSensor = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[1].Cylinder_BitR[1];
                        ST15InhaleCy.cylinderPLCToPC_Global.nCyStatus = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[1].Cylinder_StatusR;
                        ST15InhaleCy.cylinderPLCToPC_Global.nHmiDisplay = objr.ClassOP20StationCylinderR_15[14].ClassCylinderRArr_15[1].Cylinder_HmiDisplayR;

                    }

                    break;
                case nameof(ClassOtherDeviceR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOtherDeviceR>();
                        OtherDevicePLCToPC_Global.testDatas[0].CurrentValue = objr.ClassOtherDeviceArr_6[0].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[0].ResultValue = objr.ClassOtherDeviceArr_6[0].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[0].Result[0] = objr.ClassOtherDeviceArr_6[0].Result[0];

                        OtherDevicePLCToPC_Global.testDatas[1].CurrentValue = objr.ClassOtherDeviceArr_6[1].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[1].ResultValue = objr.ClassOtherDeviceArr_6[1].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[1].Result[0] = objr.ClassOtherDeviceArr_6[1].Result[0];

                        OtherDevicePLCToPC_Global.testDatas[2].CurrentValue = objr.ClassOtherDeviceArr_6[2].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[2].ResultValue = objr.ClassOtherDeviceArr_6[2].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[2].Result[0] = objr.ClassOtherDeviceArr_6[2].Result[0];

                        OtherDevicePLCToPC_Global.testDatas[3].CurrentValue = objr.ClassOtherDeviceArr_6[3].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[3].ResultValue = objr.ClassOtherDeviceArr_6[3].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[3].Result[0] = objr.ClassOtherDeviceArr_6[3].Result[0];

                        OtherDevicePLCToPC_Global.testDatas[4].CurrentValue = objr.ClassOtherDeviceArr_6[4].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[4].ResultValue = objr.ClassOtherDeviceArr_6[4].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[4].Result[0] = objr.ClassOtherDeviceArr_6[4].Result[0];

                        OtherDevicePLCToPC_Global.testDatas[5].CurrentValue = objr.ClassOtherDeviceArr_6[5].CurrentValue;
                        OtherDevicePLCToPC_Global.testDatas[5].ResultValue = objr.ClassOtherDeviceArr_6[5].ResultValue;
                        OtherDevicePLCToPC_Global.testDatas[5].Result[0] = objr.ClassOtherDeviceArr_6[5].Result[0];


                        OtherDevicePLCToPC_Global.testData2s[0].CurrentValue = objr.ClassPressureAndODArr_3[0].CurrentValue;
                        OtherDevicePLCToPC_Global.testData2s[0].Result[0] = objr.ClassPressureAndODArr_3[0].Result[0];

                        OtherDevicePLCToPC_Global.testData2s[1].CurrentValue = objr.ClassPressureAndODArr_3[1].CurrentValue;
                        OtherDevicePLCToPC_Global.testData2s[1].Result[0] = objr.ClassPressureAndODArr_3[1].Result[0];

                        OtherDevicePLCToPC_Global.testData2s[2].CurrentValue = objr.ClassPressureAndODArr_3[2].CurrentValue;
                        OtherDevicePLCToPC_Global.testData2s[2].Result[0] = objr.ClassPressureAndODArr_3[2].Result[0];

                        OtherDevicePLCToPC_Global.ODAndTemp = objr.ClassHumiture.ODAndTemp;
                        OtherDevicePLCToPC_Global.NeedleOperation = objr.ClassOtherNeedleOperation.Result;
                        OtherDevicePLCToPC_Global.Bool16 = objr.ClassOtherNeedleOperation.ParaDataArr[0];
                        OtherDevicePLCToPC_Global.Bool17 = objr.ClassOtherNeedleOperation.ParaDataArr[1];
                        OtherDevicePLCToPC_Global.Bool18 = objr.ClassOtherNeedleOperation.ParaDataArr[2];
                        OtherDevicePLCToPC_Global.Bool19 = objr.ClassOtherNeedleOperation.ParaDataArr[3];

                    }
                    break;
                case nameof(ClassSystemR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassSystemR>();

                        SystemPLCToPC_Global.bManualMode = objr.System_BitR[0];
                        SystemPLCToPC_Global.bInitialing = objr.System_BitR[1];
                        SystemPLCToPC_Global.bHMIStartLamp = objr.System_BitR[2];
                        SystemPLCToPC_Global.bHMIStopLamp = objr.System_BitR[3];
                        SystemPLCToPC_Global.bHMIStepLamp = objr.System_BitR[4];
                        SystemPLCToPC_Global.bHMIResetLamp = objr.System_BitR[5];
                        SystemPLCToPC_Global.bHMICycleStopLamp = objr.System_BitR[6];
                        SystemPLCToPC_Global.bClearingMat = objr.System_BitR[7];
                        SystemPLCToPC_Global.bClearCmp = objr.System_BitR[8];
                        SystemPLCToPC_Global.bDryRunning = objr.System_BitR[9];
                        SystemPLCToPC_Global.bPcDisabled = objr.System_BitR[10];
                        SystemPLCToPC_Global.bCcdDisabled = objr.System_BitR[11];
                        SystemPLCToPC_Global.RecipeLoadOK = objr.System_BitR[12];
                        SystemPLCToPC_Global.bool1 = objr.System_BitR[13];
                        SystemPLCToPC_Global.bool2 = objr.System_BitR[14];
                        SystemPLCToPC_Global.bool3 = objr.System_BitR[15];


                        SystemPLCToPC_Global.PartCode = objr.System_PartCodeR;
                        SystemPLCToPC_Global.nCycleTime = objr.System_CycleTimeR;
                        SystemPLCToPC_Global.nCounter = objr.System_CounterR;
                        SystemPLCToPC_Global.nCounterOK = objr.System_CounterOkR;
                        SystemPLCToPC_Global.nCounterNG = objr.System_CounterNgR;
                        SystemPLCToPC_Global.nOKrate = objr.System_OkRateR;
                        SystemPLCToPC_Global.nMachineStatus = objr.System_MachineStatusR;
                        SystemPLCToPC_Global.nHMIDisplay_SYS = objr.System_SysAlarmR;
                        SystemPLCToPC_Global.nHMIDisplay_DoorEstopAlarm = objr.System_DoorEstopAlarmR;
                        SystemPLCToPC_Global.nHMIDisplay_EstopAlarm = objr.System_EstopAlarmR;
                        SystemPLCToPC_Global.nHMIDisplay_OtherDevice = objr.System_OtherDeviceAlarmR;
                        SystemPLCToPC_Global.nHMIDisplay_Connect = objr.System_ConnectAlarmR;
                        SystemPLCToPC_Global.nHMIDispaly_NoMaterial = objr.System_NoMaterialAlarmR;
                        SystemPLCToPC_Global.nHMIDispaly_Warn1 = objr.System_Warn1R;
                        SystemPLCToPC_Global.nHMIDispaly_Warn2 = objr.System_Warn2R;

                    }
                    break;
                case nameof(ClassStaitonArrR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassStaitonArrR>();

                        ST1Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[0].Station_BitR[0];
                        ST1Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[0].Station_BitR[1];
                        ST1Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[0].Station_BitR[2];
                        ST1Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[0].Station_BitR[3];
                        ST1Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[0].Station_BitR[4];
                        ST1Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[0].Station_BitR[5];
                        ST1Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[0].Station_BitR[6];
                        ST1Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[0].Station_BitR[7];
                        ST1Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[0].Station_BitR[8];
                        ST1Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[0].Station_BitR[9];
                        ST1Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[0].Station_BitR[10];
                        ST1Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[0].Station_BitR[11];
                        ST1Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[0].Station_BitR[12];
                        ST1Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[0].Station_BitR[13];
                        ST1Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[0].Station_BitR[14];
                        ST1Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[0].Station_BitR[15];


                        ST1Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[0].Station_CounterR;
                        ST1Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[0].Station_CounterOkR;
                        ST1Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[0].Station_CounterNg1R;
                        ST1Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[0].Station_CounterNg2R;
                        ST1Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[0].Station_CounterNg3R;
                        ST1Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[0].Station_KrateOkR;
                        ST1Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[0].Station_CycleTime;
                        ST1Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[0].Station_StationStatusR;
                        ST1Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[0].Station_CarrierStatusR;
                        ST1Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[0].Station_AlarmCountR;
                        ST1Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[0].Station_StationNumberR;
                        ST1Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[0].Station_OtherAlarm1R;
                        ST1Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[0].Station_OtherAlarm2R;



                        ST2Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[1].Station_BitR[0];
                        ST2Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[1].Station_BitR[1];
                        ST2Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[1].Station_BitR[2];
                        ST2Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[1].Station_BitR[3];
                        ST2Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[1].Station_BitR[4];
                        ST2Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[1].Station_BitR[5];
                        ST2Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[1].Station_BitR[6];
                        ST2Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[1].Station_BitR[7];
                        ST2Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[1].Station_BitR[8];
                        ST2Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[1].Station_BitR[9];
                        ST2Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[1].Station_BitR[10];
                        ST2Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[1].Station_BitR[11];
                        ST2Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[1].Station_BitR[12];
                        ST2Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[1].Station_BitR[13];
                        ST2Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[1].Station_BitR[14];
                        ST2Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[1].Station_BitR[15];
                        ST2Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[1].Station_CounterR;
                        ST2Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[1].Station_CounterOkR;
                        ST2Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[1].Station_CounterNg1R;
                        ST2Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[1].Station_CounterNg2R;
                        ST2Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[1].Station_CounterNg3R;
                        ST2Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[1].Station_KrateOkR;
                        ST2Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[1].Station_CycleTime;
                        ST2Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[1].Station_StationStatusR;
                        ST2Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[1].Station_CarrierStatusR;
                        ST2Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[1].Station_AlarmCountR;
                        ST2Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[1].Station_StationNumberR;
                        ST2Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[1].Station_OtherAlarm1R;
                        ST2Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[1].Station_OtherAlarm2R;



                        ST3Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[2].Station_BitR[0];
                        ST3Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[2].Station_BitR[1];
                        ST3Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[2].Station_BitR[2];
                        ST3Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[2].Station_BitR[3];
                        ST3Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[2].Station_BitR[4];
                        ST3Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[2].Station_BitR[5];
                        ST3Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[2].Station_BitR[6];
                        ST3Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[2].Station_BitR[7];
                        ST3Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[2].Station_BitR[8];
                        ST3Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[2].Station_BitR[9];
                        ST3Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[2].Station_BitR[10];
                        ST3Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[2].Station_BitR[11];
                        ST3Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[2].Station_BitR[12];
                        ST3Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[2].Station_BitR[13];
                        ST3Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[2].Station_BitR[14];
                        ST3Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[2].Station_BitR[15];
                        ST3Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[2].Station_CounterR;
                        ST3Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[2].Station_CounterOkR;
                        ST3Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[2].Station_CounterNg1R;
                        ST3Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[2].Station_CounterNg2R;
                        ST3Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[2].Station_CounterNg3R;
                        ST3Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[2].Station_KrateOkR;
                        ST3Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[2].Station_CycleTime;
                        ST3Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[2].Station_StationStatusR;
                        ST3Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[2].Station_CarrierStatusR;
                        ST3Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[2].Station_AlarmCountR;
                        ST3Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[2].Station_StationNumberR;
                        ST3Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[2].Station_OtherAlarm1R;
                        ST3Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[2].Station_OtherAlarm2R;


                        ST4Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[3].Station_BitR[0];
                        ST4Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[3].Station_BitR[1];
                        ST4Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[3].Station_BitR[2];
                        ST4Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[3].Station_BitR[3];
                        ST4Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[3].Station_BitR[4];
                        ST4Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[3].Station_BitR[5];
                        ST4Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[3].Station_BitR[6];
                        ST4Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[3].Station_BitR[7];
                        ST4Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[3].Station_BitR[8];
                        ST4Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[3].Station_BitR[9];
                        ST4Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[3].Station_BitR[10];
                        ST4Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[3].Station_BitR[11];
                        ST4Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[3].Station_BitR[12];
                        ST4Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[3].Station_BitR[13];
                        ST4Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[3].Station_BitR[14];
                        ST4Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[3].Station_BitR[15];
                        ST4Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[3].Station_CounterR;
                        ST4Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[3].Station_CounterOkR;
                        ST4Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[3].Station_CounterNg1R;
                        ST4Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[3].Station_CounterNg2R;
                        ST4Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[3].Station_CounterNg3R;
                        ST4Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[3].Station_KrateOkR;
                        ST4Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[3].Station_CycleTime;
                        ST4Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[3].Station_StationStatusR;
                        ST4Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[3].Station_CarrierStatusR;
                        ST4Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[3].Station_AlarmCountR;
                        ST4Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[3].Station_StationNumberR;
                        ST4Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[3].Station_OtherAlarm1R;
                        ST4Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[3].Station_OtherAlarm2R;



                        ST5Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[4].Station_BitR[0];
                        ST5Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[4].Station_BitR[1];
                        ST5Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[4].Station_BitR[2];
                        ST5Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[4].Station_BitR[3];
                        ST5Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[4].Station_BitR[4];
                        ST5Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[4].Station_BitR[5];
                        ST5Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[4].Station_BitR[6];
                        ST5Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[4].Station_BitR[7];
                        ST5Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[4].Station_BitR[8];
                        ST5Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[4].Station_BitR[9];
                        ST5Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[4].Station_BitR[10];
                        ST5Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[4].Station_BitR[11];
                        ST5Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[4].Station_BitR[12];
                        ST5Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[4].Station_BitR[13];
                        ST5Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[4].Station_BitR[14];
                        ST5Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[4].Station_BitR[15];
                        ST5Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[4].Station_CounterR;
                        ST5Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[4].Station_CounterOkR;
                        ST5Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[4].Station_CounterNg1R;
                        ST5Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[4].Station_CounterNg2R;
                        ST5Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[4].Station_CounterNg3R;
                        ST5Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[4].Station_KrateOkR;
                        ST5Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[4].Station_CycleTime;
                        ST5Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[4].Station_StationStatusR;
                        ST5Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[4].Station_CarrierStatusR;
                        ST5Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[4].Station_AlarmCountR;
                        ST5Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[4].Station_StationNumberR;
                        ST5Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[4].Station_OtherAlarm1R;
                        ST5Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[4].Station_OtherAlarm2R;


                        ST6Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[5].Station_BitR[0];
                        ST6Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[5].Station_BitR[1];
                        ST6Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[5].Station_BitR[2];
                        ST6Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[5].Station_BitR[3];
                        ST6Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[5].Station_BitR[4];
                        ST6Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[5].Station_BitR[5];
                        ST6Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[5].Station_BitR[6];
                        ST6Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[5].Station_BitR[7];
                        ST6Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[5].Station_BitR[8];
                        ST6Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[5].Station_BitR[9];
                        ST6Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[5].Station_BitR[10];
                        ST6Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[5].Station_BitR[11];
                        ST6Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[5].Station_BitR[12];
                        ST6Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[5].Station_BitR[13];
                        ST6Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[5].Station_BitR[14];
                        ST6Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[5].Station_BitR[15];
                        ST6Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[5].Station_CounterR;
                        ST6Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[5].Station_CounterOkR;
                        ST6Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[5].Station_CounterNg1R;
                        ST6Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[5].Station_CounterNg2R;
                        ST6Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[5].Station_CounterNg3R;
                        ST6Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[5].Station_KrateOkR;
                        ST6Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[5].Station_CycleTime;
                        ST6Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[5].Station_StationStatusR;
                        ST6Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[5].Station_CarrierStatusR;
                        ST6Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[5].Station_AlarmCountR;
                        ST6Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[5].Station_StationNumberR;
                        ST6Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[5].Station_OtherAlarm1R;
                        ST6Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[5].Station_OtherAlarm2R;



                        ST7Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[6].Station_BitR[0];
                        ST7Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[6].Station_BitR[1];
                        ST7Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[6].Station_BitR[2];
                        ST7Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[6].Station_BitR[3];
                        ST7Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[6].Station_BitR[4];
                        ST7Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[6].Station_BitR[5];
                        ST7Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[6].Station_BitR[6];
                        ST7Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[6].Station_BitR[7];
                        ST7Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[6].Station_BitR[8];
                        ST7Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[6].Station_BitR[9];
                        ST7Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[6].Station_BitR[10];
                        ST7Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[6].Station_BitR[11];
                        ST7Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[6].Station_BitR[12];
                        ST7Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[6].Station_BitR[13];
                        ST7Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[6].Station_BitR[14];
                        ST7Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[6].Station_BitR[15];
                        ST7Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[6].Station_CounterR;
                        ST7Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[6].Station_CounterOkR;
                        ST7Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[6].Station_CounterNg1R;
                        ST7Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[6].Station_CounterNg2R;
                        ST7Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[6].Station_CounterNg3R;
                        ST7Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[6].Station_KrateOkR;
                        ST7Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[6].Station_CycleTime;
                        ST7Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[6].Station_StationStatusR;
                        ST7Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[6].Station_CarrierStatusR;
                        ST7Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[6].Station_AlarmCountR;
                        ST7Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[6].Station_StationNumberR;
                        ST7Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[6].Station_OtherAlarm1R;
                        ST7Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[6].Station_OtherAlarm2R;

                        ST8Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[7].Station_BitR[0];
                        ST8Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[7].Station_BitR[1];
                        ST8Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[7].Station_BitR[2];
                        ST8Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[7].Station_BitR[3];
                        ST8Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[7].Station_BitR[4];
                        ST8Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[7].Station_BitR[5];
                        ST8Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[7].Station_BitR[6];
                        ST8Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[7].Station_BitR[7];
                        ST8Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[7].Station_BitR[8];
                        ST8Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[7].Station_BitR[9];
                        ST8Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[7].Station_BitR[10];
                        ST8Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[7].Station_BitR[11];
                        ST8Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[7].Station_BitR[12];
                        ST8Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[7].Station_BitR[13];
                        ST8Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[7].Station_BitR[14];
                        ST8Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[7].Station_BitR[15];
                        ST8Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[7].Station_CounterR;
                        ST8Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[7].Station_CounterOkR;
                        ST8Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[7].Station_CounterNg1R;
                        ST8Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[7].Station_CounterNg2R;
                        ST8Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[7].Station_CounterNg3R;
                        ST8Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[7].Station_KrateOkR;
                        ST8Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[7].Station_CycleTime;
                        ST8Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[7].Station_StationStatusR;
                        ST8Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[7].Station_CarrierStatusR;
                        ST8Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[7].Station_AlarmCountR;
                        ST8Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[7].Station_StationNumberR;
                        ST8Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[7].Station_OtherAlarm1R;
                        ST8Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[7].Station_OtherAlarm2R;


                        ST9Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[8].Station_BitR[0];
                        ST9Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[8].Station_BitR[1];
                        ST9Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[8].Station_BitR[2];
                        ST9Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[8].Station_BitR[3];
                        ST9Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[8].Station_BitR[4];
                        ST9Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[8].Station_BitR[5];
                        ST9Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[8].Station_BitR[6];
                        ST9Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[8].Station_BitR[7];
                        ST9Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[8].Station_BitR[8];
                        ST9Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[8].Station_BitR[9];
                        ST9Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[8].Station_BitR[10];
                        ST9Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[8].Station_BitR[11];
                        ST9Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[8].Station_BitR[12];
                        ST9Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[8].Station_BitR[13];
                        ST9Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[8].Station_BitR[14];
                        ST9Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[8].Station_BitR[15];
                        ST9Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[8].Station_CounterR;
                        ST9Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[8].Station_CounterOkR;
                        ST9Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[8].Station_CounterNg1R;
                        ST9Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[8].Station_CounterNg2R;
                        ST9Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[8].Station_CounterNg3R;
                        ST9Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[8].Station_KrateOkR;
                        ST9Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[8].Station_CycleTime;
                        ST9Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[8].Station_StationStatusR;
                        ST9Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[8].Station_CarrierStatusR;
                        ST9Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[8].Station_AlarmCountR;
                        ST9Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[8].Station_StationNumberR;
                        ST9Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[8].Station_OtherAlarm1R;
                        ST9Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[8].Station_OtherAlarm2R;


                        ST10Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[9].Station_BitR[0];
                        ST10Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[9].Station_BitR[1];
                        ST10Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[9].Station_BitR[2];
                        ST10Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[9].Station_BitR[3];
                        ST10Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[9].Station_BitR[4];
                        ST10Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[9].Station_BitR[5];
                        ST10Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[9].Station_BitR[6];
                        ST10Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[9].Station_BitR[7];
                        ST10Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[9].Station_BitR[8];
                        ST10Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[9].Station_BitR[9];
                        ST10Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[9].Station_BitR[10];
                        ST10Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[9].Station_BitR[11];
                        ST10Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[9].Station_BitR[12];
                        ST10Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[9].Station_BitR[13];
                        ST10Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[9].Station_BitR[14];
                        ST10Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[9].Station_BitR[15];
                        ST10Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[9].Station_CounterR;
                        ST10Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[9].Station_CounterOkR;
                        ST10Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[9].Station_CounterNg1R;
                        ST10Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[9].Station_CounterNg2R;
                        ST10Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[9].Station_CounterNg3R;
                        ST10Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[9].Station_KrateOkR;
                        ST10Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[9].Station_CycleTime;
                        ST10Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[9].Station_StationStatusR;
                        ST10Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[9].Station_CarrierStatusR;
                        ST10Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[9].Station_AlarmCountR;
                        ST10Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[9].Station_StationNumberR;
                        ST10Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[9].Station_OtherAlarm1R;
                        ST10Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[9].Station_OtherAlarm2R;



                        ST11Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[10].Station_BitR[0];
                        ST11Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[10].Station_BitR[1];
                        ST11Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[10].Station_BitR[2];
                        ST11Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[10].Station_BitR[3];
                        ST11Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[10].Station_BitR[4];
                        ST11Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[10].Station_BitR[5];
                        ST11Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[10].Station_BitR[6];
                        ST11Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[10].Station_BitR[8];
                        ST11Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[10].Station_BitR[8];
                        ST11Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[10].Station_BitR[9];
                        ST11Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[10].Station_BitR[10];
                        ST11Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[10].Station_BitR[11];
                        ST11Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[10].Station_BitR[12];
                        ST11Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[10].Station_BitR[13];
                        ST11Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[10].Station_BitR[14];
                        ST11Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[10].Station_BitR[15];
                        ST11Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[10].Station_CounterR;
                        ST11Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[10].Station_CounterOkR;
                        ST11Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[10].Station_CounterNg1R;
                        ST11Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[10].Station_CounterNg2R;
                        ST11Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[10].Station_CounterNg3R;
                        ST11Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[10].Station_KrateOkR;
                        ST11Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[10].Station_CycleTime;
                        ST11Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[10].Station_StationStatusR;
                        ST11Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[10].Station_CarrierStatusR;
                        ST11Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[10].Station_AlarmCountR;
                        ST11Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[10].Station_StationNumberR;
                        ST11Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[10].Station_OtherAlarm1R;
                        ST11Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[10].Station_OtherAlarm2R;


                        ST12Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[11].Station_BitR[0];
                        ST12Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[11].Station_BitR[1];
                        ST12Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[11].Station_BitR[2];
                        ST12Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[11].Station_BitR[3];
                        ST12Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[11].Station_BitR[4];
                        ST12Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[11].Station_BitR[5];
                        ST12Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[11].Station_BitR[6];
                        ST12Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[11].Station_BitR[9];
                        ST12Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[11].Station_BitR[8];
                        ST12Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[11].Station_BitR[9];
                        ST12Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[11].Station_BitR[10];
                        ST12Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[11].Station_BitR[11];
                        ST12Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[11].Station_BitR[12];
                        ST12Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[11].Station_BitR[13];
                        ST12Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[11].Station_BitR[14];
                        ST12Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[11].Station_BitR[15];
                        ST12Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[11].Station_CounterR;
                        ST12Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[11].Station_CounterOkR;
                        ST12Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[11].Station_CounterNg1R;
                        ST12Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[11].Station_CounterNg2R;
                        ST12Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[11].Station_CounterNg3R;
                        ST12Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[11].Station_KrateOkR;
                        ST12Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[11].Station_CycleTime;
                        ST12Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[11].Station_StationStatusR;
                        ST12Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[11].Station_CarrierStatusR;
                        ST12Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[11].Station_AlarmCountR;
                        ST12Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[11].Station_StationNumberR;
                        ST12Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[11].Station_OtherAlarm1R;
                        ST12Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[11].Station_OtherAlarm2R;




                        ST13Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[12].Station_BitR[0];
                        ST13Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[12].Station_BitR[1];
                        ST13Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[12].Station_BitR[2];
                        ST13Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[12].Station_BitR[3];
                        ST13Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[12].Station_BitR[4];
                        ST13Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[12].Station_BitR[5];
                        ST13Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[12].Station_BitR[6];
                        ST13Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[12].Station_BitR[10];
                        ST13Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[12].Station_BitR[8];
                        ST13Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[12].Station_BitR[9];
                        ST13Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[12].Station_BitR[10];
                        ST13Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[12].Station_BitR[11];
                        ST13Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[12].Station_BitR[12];
                        ST13Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[12].Station_BitR[13];
                        ST13Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[12].Station_BitR[14];
                        ST13Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[12].Station_BitR[15];
                        ST13Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[12].Station_CounterR;
                        ST13Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[12].Station_CounterOkR;
                        ST13Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[12].Station_CounterNg1R;
                        ST13Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[12].Station_CounterNg2R;
                        ST13Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[12].Station_CounterNg3R;
                        ST13Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[12].Station_KrateOkR;
                        ST13Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[12].Station_CycleTime;
                        ST13Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[12].Station_StationStatusR;
                        ST13Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[12].Station_CarrierStatusR;
                        ST13Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[12].Station_AlarmCountR;
                        ST13Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[12].Station_StationNumberR;
                        ST13Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[12].Station_OtherAlarm1R;
                        ST13Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[12].Station_OtherAlarm2R;



                        ST14Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[13].Station_BitR[0];
                        ST14Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[13].Station_BitR[1];
                        ST14Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[13].Station_BitR[2];
                        ST14Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[13].Station_BitR[3];
                        ST14Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[13].Station_BitR[4];
                        ST14Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[13].Station_BitR[5];
                        ST14Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[13].Station_BitR[6];
                        ST14Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[13].Station_BitR[11];
                        ST14Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[13].Station_BitR[8];
                        ST14Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[13].Station_BitR[9];
                        ST14Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[13].Station_BitR[10];
                        ST14Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[13].Station_BitR[11];
                        ST14Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[13].Station_BitR[12];
                        ST14Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[13].Station_BitR[13];
                        ST14Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[13].Station_BitR[14];
                        ST14Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[13].Station_BitR[15];
                        ST14Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[13].Station_CounterR;
                        ST14Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[13].Station_CounterOkR;
                        ST14Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[13].Station_CounterNg1R;
                        ST14Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[13].Station_CounterNg2R;
                        ST14Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[13].Station_CounterNg3R;
                        ST14Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[13].Station_KrateOkR;
                        ST14Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[13].Station_CycleTime;
                        ST14Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[13].Station_StationStatusR;
                        ST14Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[13].Station_CarrierStatusR;
                        ST14Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[13].Station_AlarmCountR;
                        ST14Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[13].Station_StationNumberR;
                        ST14Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[13].Station_OtherAlarm1R;
                        ST14Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[13].Station_OtherAlarm2R;

                        ST15Station_Global.stationPLCToPC.bInitialSTing = objr.ClassStationRArr_15[14].Station_BitR[0];
                        ST15Station_Global.stationPLCToPC.bDisabled = objr.ClassStationRArr_15[14].Station_BitR[1];
                        ST15Station_Global.stationPLCToPC.bAlarm = objr.ClassStationRArr_15[14].Station_BitR[2];
                        ST15Station_Global.stationPLCToPC.bCycleStart = objr.ClassStationRArr_15[14].Station_BitR[3];
                        ST15Station_Global.stationPLCToPC.bSignSTstart = objr.ClassStationRArr_15[14].Station_BitR[4];
                        ST15Station_Global.stationPLCToPC.bCylinderAlarm = objr.ClassStationRArr_15[14].Station_BitR[5];
                        ST15Station_Global.stationPLCToPC.bServoAlarm = objr.ClassStationRArr_15[14].Station_BitR[6];
                        ST15Station_Global.stationPLCToPC.bGT2CheckIn = objr.ClassStationRArr_15[14].Station_BitR[12];
                        ST15Station_Global.stationPLCToPC.bPressCheckIn = objr.ClassStationRArr_15[14].Station_BitR[8];
                        ST15Station_Global.stationPLCToPC.bDuring = objr.ClassStationRArr_15[14].Station_BitR[9];
                        ST15Station_Global.stationPLCToPC.bOut2 = objr.ClassStationRArr_15[14].Station_BitR[10];
                        ST15Station_Global.stationPLCToPC.bOut3 = objr.ClassStationRArr_15[14].Station_BitR[11];
                        ST15Station_Global.stationPLCToPC.bOut4 = objr.ClassStationRArr_15[14].Station_BitR[12];
                        ST15Station_Global.stationPLCToPC.bOut5 = objr.ClassStationRArr_15[14].Station_BitR[13];
                        ST15Station_Global.stationPLCToPC.bOut6 = objr.ClassStationRArr_15[14].Station_BitR[14];
                        ST15Station_Global.stationPLCToPC.bOut7 = objr.ClassStationRArr_15[14].Station_BitR[15];
                        ST15Station_Global.stationPLCToPC.nCounter = objr.ClassStationRArr_15[14].Station_CounterR;
                        ST15Station_Global.stationPLCToPC.nCounterOK = objr.ClassStationRArr_15[14].Station_CounterOkR;
                        ST15Station_Global.stationPLCToPC.nCounterNG1 = objr.ClassStationRArr_15[14].Station_CounterNg1R;
                        ST15Station_Global.stationPLCToPC.nCounterNG2 = objr.ClassStationRArr_15[14].Station_CounterNg2R;
                        ST15Station_Global.stationPLCToPC.nCounterNG3 = objr.ClassStationRArr_15[14].Station_CounterNg3R;
                        ST15Station_Global.stationPLCToPC.nOKrate = objr.ClassStationRArr_15[14].Station_KrateOkR;
                        ST15Station_Global.stationPLCToPC.nCycleTime = objr.ClassStationRArr_15[14].Station_CycleTime;
                        ST15Station_Global.stationPLCToPC.nStationStatus = objr.ClassStationRArr_15[14].Station_StationStatusR;
                        ST15Station_Global.stationPLCToPC.nCarrierStatus = objr.ClassStationRArr_15[14].Station_CarrierStatusR;
                        ST15Station_Global.stationPLCToPC.nAlarmCount = objr.ClassStationRArr_15[14].Station_AlarmCountR;
                        ST15Station_Global.stationPLCToPC.nStationNumber = objr.ClassStationRArr_15[14].Station_StationNumberR;
                        ST15Station_Global.stationPLCToPC.nOtherAlarmDisplay = objr.ClassStationRArr_15[14].Station_OtherAlarm1R;
                        ST15Station_Global.stationPLCToPC.nOtherAlarmDisplay2 = objr.ClassStationRArr_15[14].Station_OtherAlarm2R;

                    }
                    break;
                case nameof(ClassOP20IOR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOP20IOR>();
                        IO_Global.IO_R = objr.OP20IO_R;
                    }
                    break;

                case nameof(ClassOP20CheckArrR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOP20CheckArrR>();
                        OP20CheckPLCToPC_Global.Checks[0].checkdatas = objr.ClassOP20CheckRArr_20[0].Check;
                        OP20CheckPLCToPC_Global.Checks[1].checkdatas = objr.ClassOP20CheckRArr_20[1].Check;
                        OP20CheckPLCToPC_Global.Checks[2].checkdatas = objr.ClassOP20CheckRArr_20[2].Check;
                        OP20CheckPLCToPC_Global.Checks[3].checkdatas = objr.ClassOP20CheckRArr_20[3].Check;
                        OP20CheckPLCToPC_Global.Checks[4].checkdatas = objr.ClassOP20CheckRArr_20[4].Check;
                        OP20CheckPLCToPC_Global.Checks[5].checkdatas = objr.ClassOP20CheckRArr_20[5].Check;
                        OP20CheckPLCToPC_Global.Checks[6].checkdatas = objr.ClassOP20CheckRArr_20[6].Check;
                    }
                    break;

                case nameof(ClassOP20TurntableR):
                    {
                        var objr = output.SiemensOtherInfo.ObjR.JObjToClass<ClassOP20TurntableR>();
                        TurntablePLCToPC_Global.OrgOk = objr.Turntable_BitR[0];
                        TurntablePLCToPC_Global.StationCode = objr.Turntable_PosCodeR;
                        TurntablePLCToPC_Global.Enable = objr.TurntableEnable[0];
                        TurntablePLCToPC_Global.NotAutoPos = objr.TurntableEnable[1];
                        TurntablePLCToPC_Global.AutoStationCode = objr.AutoStationCode;
                    }

                    break;
                default:
                    break;
            }
        }
        private void ParseSignalRObjW(SiemensOtherSignalROutput output)
        {
            // 写
            switch (output.SiemensOtherInfo.ObjWClassName)
            {
                case nameof(ClassOP20Parameter):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20Parameter>();
                        output.SiemensOtherInfo.ObjW = objw;
                        objw.ClassOP20ParamServoArr_4[0].P_S_Acc = ST4ServoParam_Global.nAcc;
                        objw.ClassOP20ParamServoArr_4[0].P_S_Dec = ST4ServoParam_Global.nDec;
                        objw.ClassOP20ParamServoArr_4[0].P_S_Override = ST4ServoParam_Global.Override;
                        objw.ClassOP20ParamServoArr_4[0].P_S_HomeSpeed = ST4ServoParam_Global.nHomeSpeed;
                        objw.ClassOP20ParamServoArr_4[0].P_S_HomePos = ST4ServoParam_Global.nHomePos;
                        objw.ClassOP20ParamServoArr_4[0].P_S_JogSpeed = ST4ServoParam_Global.nJogSpeed;
                        objw.ClassOP20ParamServoArr_4[0].P_S_HomeMode = ST4ServoParam_Global.nHomeMode;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[0].P_S_WorkPos = ST4ServoParam_Global.aWork[0].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[0].P_S_WorkSpeed = ST4ServoParam_Global.aWork[0].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[1].P_S_WorkPos = ST4ServoParam_Global.aWork[1].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[1].P_S_WorkSpeed = ST4ServoParam_Global.aWork[1].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[2].P_S_WorkPos = ST4ServoParam_Global.aWork[2].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[2].P_S_WorkSpeed = ST4ServoParam_Global.aWork[2].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[3].P_S_WorkPos = ST4ServoParam_Global.aWork[3].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[3].P_S_WorkSpeed = ST4ServoParam_Global.aWork[3].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[4].P_S_WorkPos = ST4ServoParam_Global.aWork[4].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[4].P_S_WorkSpeed = ST4ServoParam_Global.aWork[4].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[5].P_S_WorkPos = ST4ServoParam_Global.aWork[5].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[5].P_S_WorkSpeed = ST4ServoParam_Global.aWork[5].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[6].P_S_WorkPos = ST4ServoParam_Global.aWork[6].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[6].P_S_WorkSpeed = ST4ServoParam_Global.aWork[6].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[7].P_S_WorkPos = ST4ServoParam_Global.aWork[7].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[7].P_S_WorkSpeed = ST4ServoParam_Global.aWork[7].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[8].P_S_WorkPos = ST4ServoParam_Global.aWork[8].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[8].P_S_WorkSpeed = ST4ServoParam_Global.aWork[8].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[9].P_S_WorkPos = ST4ServoParam_Global.aWork[9].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[0].ClassParameterServoPosArr_10[9].P_S_WorkSpeed = ST4ServoParam_Global.aWork[9].aWorkSpeed;

                        objw.ClassOP20ParamServoArr_4[1].P_S_Acc = ST8ServoParam_Global.nAcc;
                        objw.ClassOP20ParamServoArr_4[1].P_S_Dec = ST8ServoParam_Global.nDec;
                        objw.ClassOP20ParamServoArr_4[1].P_S_Override = ST8ServoParam_Global.Override;
                        objw.ClassOP20ParamServoArr_4[1].P_S_HomeSpeed = ST8ServoParam_Global.nHomeSpeed;
                        objw.ClassOP20ParamServoArr_4[1].P_S_HomePos = ST8ServoParam_Global.nHomePos;
                        objw.ClassOP20ParamServoArr_4[1].P_S_JogSpeed = ST8ServoParam_Global.nJogSpeed;
                        objw.ClassOP20ParamServoArr_4[1].P_S_HomeMode = ST8ServoParam_Global.nHomeMode;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[0].P_S_WorkPos = ST8ServoParam_Global.aWork[0].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[0].P_S_WorkSpeed = ST8ServoParam_Global.aWork[0].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[1].P_S_WorkPos = ST8ServoParam_Global.aWork[1].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[1].P_S_WorkSpeed = ST8ServoParam_Global.aWork[1].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[2].P_S_WorkPos = ST8ServoParam_Global.aWork[2].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[2].P_S_WorkSpeed = ST8ServoParam_Global.aWork[2].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[3].P_S_WorkPos = ST8ServoParam_Global.aWork[3].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[3].P_S_WorkSpeed = ST8ServoParam_Global.aWork[3].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[4].P_S_WorkPos = ST8ServoParam_Global.aWork[4].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[4].P_S_WorkSpeed = ST8ServoParam_Global.aWork[4].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[5].P_S_WorkPos = ST8ServoParam_Global.aWork[5].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[5].P_S_WorkSpeed = ST8ServoParam_Global.aWork[5].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[6].P_S_WorkPos = ST8ServoParam_Global.aWork[6].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[6].P_S_WorkSpeed = ST8ServoParam_Global.aWork[6].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[7].P_S_WorkPos = ST8ServoParam_Global.aWork[7].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[7].P_S_WorkSpeed = ST8ServoParam_Global.aWork[7].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[8].P_S_WorkPos = ST8ServoParam_Global.aWork[8].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[8].P_S_WorkSpeed = ST8ServoParam_Global.aWork[8].aWorkSpeed;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[9].P_S_WorkPos = ST8ServoParam_Global.aWork[9].aWorkPos;
                        objw.ClassOP20ParamServoArr_4[1].ClassParameterServoPosArr_10[9].P_S_WorkSpeed = ST8ServoParam_Global.aWork[9].aWorkSpeed;


                        objw.ClassOP20ParameterSensor.OP20_P_I_ByPassArr = InductorParam_Global.aByPass;
                        objw.ClassOP20ParameterSensor.OP20_P_I_DelayArr = InductorParam_Global.aDelay;



                        //TechniqueParam_Global.ST1WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST1WeighLimit.LimitL;
                        //TechniqueParam_Global.ST1WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST1WeighLimit.LimitH;
                        //TechniqueParam_Global.ST2HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST2HightLimit.LimitL;
                        //TechniqueParam_Global.ST2HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST2HightLimit.LimitH;
                        //TechniqueParam_Global.ST5HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5HightLimit.LimitL;
                        //TechniqueParam_Global.ST5HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5HightLimit.LimitH;

                        //TechniqueParam_Global.ST5PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5PressLimit.LimitL;
                        //TechniqueParam_Global.ST5PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST5PressLimit.LimitH;

                        //TechniqueParam_Global.ST6WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST6WeighLimit.LimitL;
                        //TechniqueParam_Global.ST6WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST6WeighLimit.LimitH;

                        //TechniqueParam_Global.ST10PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST10PressureLimit.LimitL;
                        //TechniqueParam_Global.ST10PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST10PressureLimit.LimitH;

                        //TechniqueParam_Global.ST11WeighLimitDown = objw.ClassOP20ParameterTechnology.ClassParamerterTechnologyST11WeighLimit.LimitL;
                        //TechniqueParam_Global.ST11WeighLimitUp = objw.ClassOP20ParameterTechnology.ClassParamerterTechnologyST11WeighLimit.LimitH;

                        //TechniqueParam_Global.ST13HightLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13HightLimit.LimitL;
                        //TechniqueParam_Global.ST13HightLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13HightLimit.LimitH;


                        //TechniqueParam_Global.ST13PressureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13PressureLimit.LimitL;
                        //TechniqueParam_Global.ST13PressureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13PressureLimit.LimitH;


                        //TechniqueParam_Global.ST13ODLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13ODLimit.LimitL;
                        //TechniqueParam_Global.ST13ODLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST13ODLimit.LimitH;


                        //TechniqueParam_Global.ST4TemperatureLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4TemperatureLimit.LimitL;
                        //TechniqueParam_Global.ST4TemperatureLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4TemperatureLimit.LimitH;


                        //TechniqueParam_Global.ST4humidnessLimitDown = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4humidnessLimit.LimitL;
                        //TechniqueParam_Global.ST4humidnessLimitUp = objw.ClassOP20ParameterTechnology.ClassParameterTechnologyST4humidnessLimit.LimitH;


                        objw.ClassOP20ParameterLifeControl.LifeControlArr[0] = UseCount_Global.nParaData1;
                        objw.ClassOP20ParameterLifeControl.LifeControlArr[1] = UseCount_Global.nParaData2;
                        objw.ClassOP20ParameterLifeControl.LifeControlArr[2] = UseCount_Global.nParaData3;
                        objw.ClassOP20ParameterLifeControl.LifeControlArr[3] = UseCount_Global.nParaData4;
                        objw.ClassOP20ParameterLifeControl.LifeControlArr[4] = UseCount_Global.nParaData5;
                        objw.ClassOP20ParameterLifeControl.LifeControlArr[5] = UseCount_Global.nParaData6;


                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[0] = WeightTime_Global.ST1WeightSettingTime;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[1] = WeightTime_Global.ST6WeightSettingTime;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[2] = WeightTime_Global.ST11WeightSettingTime;

                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].CalibrationValue = TestHigh_Global.testValues[0].CurrentValue;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].ErrorRange = TestHigh_Global.testValues[0].ErrorRange;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[0].SettingTime = TestHigh_Global.testValues[0].SettingTime;

                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].CalibrationValue = TestHigh_Global.testValues[1].CurrentValue;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].ErrorRange = TestHigh_Global.testValues[1].ErrorRange;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[1].SettingTime = TestHigh_Global.testValues[1].SettingTime;

                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].CalibrationValue = TestHigh_Global.testValues[2].CurrentValue;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].ErrorRange = TestHigh_Global.testValues[2].ErrorRange;
                        objw.ClassOP20ParameterTestHigh.ClassOP20TestHighArr_3[2].SettingTime = TestHigh_Global.testValues[2].SettingTime;


                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].CalibrationValue = TestPressure_Global.testPressures[0].CurrentValue;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].ErrorRange = TestPressure_Global.testPressures[0].ErrorRange;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].SettingTime = TestPressure_Global.testPressures[0].SettingTime;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[0].DwellTime = TestPressure_Global.testPressures[0].HoldingTime;

                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].CalibrationValue = TestPressure_Global.testPressures[1].CurrentValue;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].ErrorRange = TestPressure_Global.testPressures[1].ErrorRange;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].SettingTime = TestPressure_Global.testPressures[1].SettingTime;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[1].DwellTime = TestPressure_Global.testPressures[1].HoldingTime;


                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].CalibrationValue = TestPressure_Global.testPressures[2].CurrentValue;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].ErrorRange = TestPressure_Global.testPressures[2].ErrorRange;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].SettingTime = TestPressure_Global.testPressures[2].SettingTime;
                        objw.ClassOP20ParameterTechnologyPress.ClassOP20TestPressArr_3[2].DwellTime = TestPressure_Global.testPressures[2].HoldingTime;

                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[0] = WaitingTime_Global.Time01;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[1] = WaitingTime_Global.Time02;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[2] = WaitingTime_Global.Time03;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[3] = WaitingTime_Global.Time04;
                        objw.ClassOP20ParameterWaitingTime.WaitingTimeArr[4] = WaitingTime_Global.Time05;


                        objw.ClassOP20ParameterStationNG.StationNGArr[0] = ContinuousNGCount_GLobal.nParaData0;
                        objw.ClassOP20ParameterStationNG.StationNGArr[1] = ContinuousNGCount_GLobal.nParaData1;
                        objw.ClassOP20ParameterStationNG.StationNGArr[2] = ContinuousNGCount_GLobal.nParaData2;
                        objw.ClassOP20ParameterStationNG.StationNGArr[3] = ContinuousNGCount_GLobal.nParaData3;
                        objw.ClassOP20ParameterStationNG.StationNGArr[4] = ContinuousNGCount_GLobal.nParaData4;
                        objw.ClassOP20ParameterStationNG.StationNGArr[5] = ContinuousNGCount_GLobal.nParaData5;
                        objw.ClassOP20ParameterStationNG.StationNGArr[6] = ContinuousNGCount_GLobal.nParaData6;
                        objw.ClassOP20ParameterStationNG.StationNGArr[7] = ContinuousNGCount_GLobal.nParaData7;
                        objw.ClassOP20ParameterStationNG.StationNGArr[8] = ContinuousNGCount_GLobal.nParaData8;
                        objw.ClassOP20ParameterStationNG.StationNGArr[9] = ContinuousNGCount_GLobal.nParaData9;


                        objw.ClassOP20ParameterStationNG.StationNGArr[10] = ContinuousNGCount_GLobal.nParaData10;
                        objw.ClassOP20ParameterStationNG.StationNGArr[11] = ContinuousNGCount_GLobal.nParaData11;
                        objw.ClassOP20ParameterStationNG.StationNGArr[12] = ContinuousNGCount_GLobal.nParaData12;
                        objw.ClassOP20ParameterStationNG.StationNGArr[13] = ContinuousNGCount_GLobal.nParaData13;
                        objw.ClassOP20ParameterStationNG.StationNGArr[14] = ContinuousNGCount_GLobal.nParaData14;
                        objw.ClassOP20ParameterStationNG.StationNGArr[15] = ContinuousNGCount_GLobal.nParaData15;
                        objw.ClassOP20ParameterStationNG.StationNGArr[16] = ContinuousNGCount_GLobal.nParaData16;
                        objw.ClassOP20ParameterStationNG.StationNGArr[17] = ContinuousNGCount_GLobal.nParaData17;
                        objw.ClassOP20ParameterStationNG.StationNGArr[18] = ContinuousNGCount_GLobal.nParaData18;
                        objw.ClassOP20ParameterStationNG.StationNGArr[19] = ContinuousNGCount_GLobal.nParaData19;


                        objw.ClassOP20ParameterStationNG.StationNGArr[20] = ContinuousNGCount_GLobal.nParaData20;
                        objw.ClassOP20ParameterStationNG.StationNGArr[21] = ContinuousNGCount_GLobal.nParaData21;
                        objw.ClassOP20ParameterStationNG.StationNGArr[22] = ContinuousNGCount_GLobal.nParaData22;
                        objw.ClassOP20ParameterStationNG.StationNGArr[23] = ContinuousNGCount_GLobal.nParaData23;
                        objw.ClassOP20ParameterStationNG.StationNGArr[24] = ContinuousNGCount_GLobal.nParaData24;
                        objw.ClassOP20ParameterStationNG.StationNGArr[25] = ContinuousNGCount_GLobal.nParaData25;
                        objw.ClassOP20ParameterStationNG.StationNGArr[26] = ContinuousNGCount_GLobal.nParaData26;
                        objw.ClassOP20ParameterStationNG.StationNGArr[27] = ContinuousNGCount_GLobal.nParaData27;
                        objw.ClassOP20ParameterStationNG.StationNGArr[28] = ContinuousNGCount_GLobal.nParaData28;
                        objw.ClassOP20ParameterStationNG.StationNGArr[29] = ContinuousNGCount_GLobal.nParaData29;

                        objw.ClassOP20SetPressure.OP20SetPressureArr = SetPressure_Global.pressures;
                    }
                    break;
                case nameof(ClassOP20ServoW):
                    {


                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20ServoW>();
                        output.SiemensOtherInfo.ObjW = objw;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[0] = ST4Servo_Global.servoPCToPLC_Global.bReleaseBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[1] = ST4Servo_Global.servoPCToPLC_Global.bHomeBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[2] = ST4Servo_Global.servoPCToPLC_Global.bForwardBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[3] = ST4Servo_Global.servoPCToPLC_Global.bReverseBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[4] = ST4Servo_Global.servoPCToPLC_Global.bManualMoveBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_BitW[5] = ST4Servo_Global.servoPCToPLC_Global.bBackAutoPosBT;
                        objw.ClassOP20ServoWArr_4[0].Servo_HmiIndexW = Convert.ToUInt16(ST4Servo_Global.servoPCToPLC_Global.nHmiIndex);


                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[0] = ST8Servo_Global.servoPCToPLC_Global.bReleaseBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[1] = ST8Servo_Global.servoPCToPLC_Global.bHomeBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[2] = ST8Servo_Global.servoPCToPLC_Global.bForwardBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[3] = ST8Servo_Global.servoPCToPLC_Global.bReverseBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[4] = ST8Servo_Global.servoPCToPLC_Global.bManualMoveBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_BitW[5] = ST8Servo_Global.servoPCToPLC_Global.bBackAutoPosBT;
                        objw.ClassOP20ServoWArr_4[1].Servo_HmiIndexW = Convert.ToUInt16(ST8Servo_Global.servoPCToPLC_Global.nHmiIndex);

                    }

                    break;
                case nameof(ClassOP20CylinderW):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20CylinderW>();
                        output.SiemensOtherInfo.ObjW = objw;

                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST01GKCarrySpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST01GKCarrySpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST01GKCarrySpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST01GKCarrySpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST01GKCarrySpinCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST01GKCarryUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST01GKCarryUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST01GKCarryUpDownCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST01WeighUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST01WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST01WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST01WeighUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST01WeighUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST01WeighJiaZhuaCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[0] = ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[1] = ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BitW[2] = ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_BackTimeW = ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[4].Cylinder_GoTimeW = ST01LoadMaterialChuoWeiCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[0] = ST01CarryInhaleCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[1] = ST01CarryInhaleCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BitW[2] = ST01CarryInhaleCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_BackTimeW = ST01CarryInhaleCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[0].ClassCylinderWArr_15[5].Cylinder_GoTimeW = ST01CarryInhaleCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST02TestHighUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST02TestHighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST02TestHighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST02TestHighUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[1].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST02TestHighUpDownCy.cylinderPCToPLC_Global.tGoTime;



                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST04JackCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST04JackCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST04JackCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST04JackCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST04JackCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST04SpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST04SpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST04SpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST04SpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST04SpinCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST04Door01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST04Door01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST04Door01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST04Door01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST04Door01Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST04BowlCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST04BowlCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST04BowlCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST04BowlCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST04BowlCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[0] = ST04Door02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[1] = ST04Door02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BitW[2] = ST04Door02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_BackTimeW = ST04Door02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[4].Cylinder_GoTimeW = ST04Door02Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[0] = ST04Vibrator01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[1] = ST04Vibrator01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BitW[2] = ST04Vibrator01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_BackTimeW = ST04Vibrator01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[5].Cylinder_GoTimeW = ST04Vibrator01Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[0] = ST04Vibrator02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[1] = ST04Vibrator02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BitW[2] = ST04Vibrator02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_BackTimeW = ST04Vibrator02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[3].ClassCylinderWArr_15[6].Cylinder_GoTimeW = ST04Vibrator02Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST05UpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST05UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST05UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST05UpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST05UpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST05ClampCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST05ClampCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST05ClampCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST05ClampCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST05ClampCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST05InhaleCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST05InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST05InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST05InhaleCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[4].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST05InhaleCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST06SpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST06SpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST06SpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST06SpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST06SpinCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST06SpinUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST06SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST06SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST06SpinUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST06SpinUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST06WeighUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST06WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST06WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST06WeighUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST06WeighUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST06Clamp12Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST06Clamp12Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST06Clamp12Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST06Clamp12Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[5].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST06Clamp12Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST08JackCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST08JackCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST08JackCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST08JackCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST08JackCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST08SpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST08SpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST08SpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST08SpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST08SpinCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST08Door01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST08Door01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST08Door01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST08Door01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST08Door01Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST08BowlCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST08BowlCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST08BowlCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST08BowlCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST08BowlCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[0] = ST08Door02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[1] = ST08Door02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BitW[2] = ST08Door02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_BackTimeW = ST08Door02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[4].Cylinder_GoTimeW = ST08Door02Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[0] = ST08Vibrator01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[1] = ST08Vibrator01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BitW[2] = ST08Vibrator01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_BackTimeW = ST08Vibrator01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[5].Cylinder_GoTimeW = ST08Vibrator01Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[0] = ST08Vibrator02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[1] = ST08Vibrator02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BitW[2] = ST08Vibrator02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_BackTimeW = ST08Vibrator02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[6].Cylinder_GoTimeW = ST08Vibrator02Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[0] = ST08Door03Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[1] = ST08Door03Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BitW[2] = ST08Door03Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_BackTimeW = ST08Door03Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[7].ClassCylinderWArr_15[7].Cylinder_GoTimeW = ST08Door03Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST10UpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST10UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST10UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST10UpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST10UpDownCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST10InhaleCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST10InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST10InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST10InhaleCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST10InhaleCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST10ClampCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST10ClampCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST10ClampCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST10ClampCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[9].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST10ClampCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST11SpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST11SpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST11SpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST11SpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST11SpinCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST11SpinUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST11SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST11SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST11SpinUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST11SpinUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST11WeighUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST11WeighUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST11WeighUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST11WeighUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST11WeighUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST11Clamp12Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST11Clamp12Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST11Clamp12Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST11Clamp12Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[10].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST11Clamp12Cy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST12SpinCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST12SpinCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST12SpinCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST12SpinCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST12SpinCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST12UpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST12UpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST12UpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST12UpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST12UpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST12SpinUpDownCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST12SpinUpDownCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST12SpinUpDownCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST12SpinUpDownCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST12SpinUpDownCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST12PressInCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST12PressInCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST12PressInCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST12PressInCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST12PressInCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[0] = ST12JiaZhuaCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[1] = ST12JiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BitW[2] = ST12JiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_BackTimeW = ST12JiaZhuaCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[4].Cylinder_GoTimeW = ST12JiaZhuaCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[0] = ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[1] = ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BitW[2] = ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_BackTimeW = ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[5].Cylinder_GoTimeW = ST12SpinJiaZhuaCy.cylinderPCToPLC_Global.tGoTime;

                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[0] = ST12InhaleCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[1] = ST12InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BitW[2] = ST12InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_BackTimeW = ST12InhaleCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[11].ClassCylinderWArr_15[6].Cylinder_GoTimeW = ST12InhaleCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST13PressInCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST13PressInCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST13PressInCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST13PressInCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[12].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST13PressInCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST14CarryUpDown01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST14CarryUpDown01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST14CarryUpDown01Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST14CarryUpDown02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST14CarryUpDown02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST14CarryUpDown02Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[0] = ST14ChuoWei01Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[1] = ST14ChuoWei01Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BitW[2] = ST14ChuoWei01Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_BackTimeW = ST14ChuoWei01Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[3].Cylinder_GoTimeW = ST14ChuoWei01Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[0] = ST14ChuoWei02Cy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[1] = ST14ChuoWei02Cy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BitW[2] = ST14ChuoWei02Cy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_BackTimeW = ST14ChuoWei02Cy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[2].Cylinder_GoTimeW = ST14ChuoWei02Cy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[0] = ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[1] = ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BitW[2] = ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_BackTimeW = ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[13].ClassCylinderWArr_15[4].Cylinder_GoTimeW = ST14CarryJiaZhuaCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[0] = ST15DownPushCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[1] = ST15DownPushCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BitW[2] = ST15DownPushCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_BackTimeW = ST15DownPushCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[0].Cylinder_GoTimeW = ST15DownPushCy.cylinderPCToPLC_Global.tGoTime;


                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[0] = ST15InhaleCy.cylinderPCToPLC_Global.bManualBT;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[1] = ST15InhaleCy.cylinderPCToPLC_Global.bOrgSenByPass;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BitW[2] = ST15InhaleCy.cylinderPCToPLC_Global.bWorkSenByPass;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_BackTimeW = ST15InhaleCy.cylinderPCToPLC_Global.tBackTime;
                        objw.ClassOP20StationCylinderW_15[14].ClassCylinderWArr_15[1].Cylinder_GoTimeW = ST15InhaleCy.cylinderPCToPLC_Global.tGoTime;
                    }

                    break;
                case nameof(ClassOtherDeviceW):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOtherDeviceW>();
                        output.SiemensOtherInfo.ObjW = objw;

                        objw.WeighBoolArr = OtherDevicePCToPLC_Global.WeighBoolArr;
                        objw.ST2HightBoolArr = OtherDevicePCToPLC_Global.ST2HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.ST5HightBoolArr = OtherDevicePCToPLC_Global.ST5HightBoolArr;
                        objw.Result[0] = OtherDevicePCToPLC_Global.bHomeBT;
                        objw.Result[1] = OtherDevicePCToPLC_Global.bJogBT;
                        objw.Result[2] = OtherDevicePCToPLC_Global.VibrateClear;
                        objw.Result[3] = OtherDevicePCToPLC_Global.bIn3;
                        objw.Result[4] = OtherDevicePCToPLC_Global.bIn4;
                        objw.Result[5] = OtherDevicePCToPLC_Global.bIn5;
                        objw.Result[6] = OtherDevicePCToPLC_Global.bIn6;
                        objw.Result[7] = OtherDevicePCToPLC_Global.bIn7;
                        objw.Result[8] = OtherDevicePCToPLC_Global.bIn8;
                        objw.Result[9] = OtherDevicePCToPLC_Global.bIn9;
                        objw.Result[10] = OtherDevicePCToPLC_Global.bIn10;
                        objw.Result[11] = OtherDevicePCToPLC_Global.bIn11;
                        objw.Result[12] = OtherDevicePCToPLC_Global.bIn12;
                        objw.Result[13] = OtherDevicePCToPLC_Global.bIn13;
                        objw.Result[14] = OtherDevicePCToPLC_Global.bIn14;
                        objw.Result[15] = OtherDevicePCToPLC_Global.bIn15;


                        objw.ParaDataArr[0] = OtherDevicePCToPLC_Global.nParaData1;
                        objw.ParaDataArr[1] = OtherDevicePCToPLC_Global.nParaData2;
                        objw.ParaDataArr[2] = OtherDevicePCToPLC_Global.nParaData3;
                        objw.ParaDataArr[3] = OtherDevicePCToPLC_Global.nParaData4;


                    }
                    break;
                case nameof(ClassOP20SystemW):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20SystemW>();
                        output.SiemensOtherInfo.ObjW = objw;

                        objw.System_BitW[0] = SystemPCToPLC_Global.bManualModeBT;
                        objw.System_BitW[1] = SystemPCToPLC_Global.bInitialBT;
                        objw.System_BitW[2] = SystemPCToPLC_Global.bHMIStart;
                        objw.System_BitW[3] = SystemPCToPLC_Global.bHMIStop;
                        objw.System_BitW[4] = SystemPCToPLC_Global.bHMIStep;
                        objw.System_BitW[5] = SystemPCToPLC_Global.bHMIReset;
                        objw.System_BitW[6] = SystemPCToPLC_Global.bHMICycleStop;
                        objw.System_BitW[7] = SystemPCToPLC_Global.bCountClearBtn;
                        objw.System_BitW[8] = SystemPCToPLC_Global.bClearMatBtn;
                        objw.System_BitW[9] = SystemPCToPLC_Global.bLEDPowerBtn;
                        objw.System_BitW[10] = SystemPCToPLC_Global.bDryRunBtn;
                        objw.System_BitW[11] = SystemPCToPLC_Global.bDoorByPass;
                        objw.System_BitW[12] = SystemPCToPLC_Global.bPcDisableBtn;
                        objw.System_BitW[13] = SystemPCToPLC_Global.bRobotDisableBtn;
                        objw.OP20SystemPingBiBtn = SystemPCToPLC_Global.bTestDisableBtn;
                    }

                    break;
                case nameof(ClassStationArrW):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassStationArrW>();
                        output.SiemensOtherInfo.ObjW = objw;

                        objw.ClassStationWArr_15[0].Station_BitW[0] = ST1Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[0].Station_BitW[1] = ST1Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[0].Station_BitW[2] = ST1Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[0].Station_BitW[3] = ST1Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[0].Station_BitW[4] = ST1Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[0].Station_BitW[5] = ST1Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[0].Station_BitW[6] = ST1Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[0].Station_BitW[7] = ST1Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[0].Station_BitW[8] = ST1Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[0].Station_BitW[9] = ST1Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[0].Station_BitW[10] = ST1Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[0].Station_BitW[11] = ST1Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[0].Station_BitW[12] = ST1Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[0].Station_BitW[13] = ST1Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[0].Station_BitW[14] = ST1Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[0].Station_BitW[15] = ST1Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[1].Station_BitW[0] = ST2Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[1].Station_BitW[1] = ST2Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[1].Station_BitW[2] = ST2Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[1].Station_BitW[3] = ST2Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[1].Station_BitW[4] = ST2Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[1].Station_BitW[5] = ST2Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[1].Station_BitW[6] = ST2Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[1].Station_BitW[7] = ST2Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[1].Station_BitW[8] = ST2Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[1].Station_BitW[9] = ST2Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[1].Station_BitW[10] = ST2Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[1].Station_BitW[11] = ST2Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[1].Station_BitW[12] = ST2Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[1].Station_BitW[13] = ST2Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[1].Station_BitW[14] = ST2Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[1].Station_BitW[15] = ST2Station_Global.stationPCToPLC.bIn7;


                        objw.ClassStationWArr_15[2].Station_BitW[0] = ST3Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[2].Station_BitW[1] = ST3Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[2].Station_BitW[2] = ST3Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[2].Station_BitW[3] = ST3Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[2].Station_BitW[4] = ST3Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[2].Station_BitW[5] = ST3Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[2].Station_BitW[6] = ST3Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[2].Station_BitW[7] = ST3Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[2].Station_BitW[8] = ST3Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[2].Station_BitW[9] = ST3Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[2].Station_BitW[10] = ST3Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[2].Station_BitW[11] = ST3Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[2].Station_BitW[12] = ST3Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[2].Station_BitW[13] = ST3Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[2].Station_BitW[14] = ST3Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[2].Station_BitW[15] = ST3Station_Global.stationPCToPLC.bIn7;


                        objw.ClassStationWArr_15[3].Station_BitW[0] = ST4Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[3].Station_BitW[1] = ST4Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[3].Station_BitW[2] = ST4Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[3].Station_BitW[3] = ST4Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[3].Station_BitW[4] = ST4Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[3].Station_BitW[5] = ST4Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[3].Station_BitW[6] = ST4Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[3].Station_BitW[7] = ST4Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[3].Station_BitW[8] = ST4Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[3].Station_BitW[9] = ST4Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[3].Station_BitW[10] = ST4Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[3].Station_BitW[11] = ST4Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[3].Station_BitW[12] = ST4Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[3].Station_BitW[13] = ST4Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[3].Station_BitW[14] = ST4Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[3].Station_BitW[15] = ST4Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[4].Station_BitW[0] = ST5Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[4].Station_BitW[1] = ST5Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[4].Station_BitW[2] = ST5Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[4].Station_BitW[3] = ST5Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[4].Station_BitW[4] = ST5Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[4].Station_BitW[5] = ST5Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[4].Station_BitW[6] = ST5Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[4].Station_BitW[7] = ST5Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[4].Station_BitW[8] = ST5Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[4].Station_BitW[9] = ST5Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[4].Station_BitW[10] = ST5Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[4].Station_BitW[11] = ST5Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[4].Station_BitW[12] = ST5Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[4].Station_BitW[13] = ST5Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[4].Station_BitW[14] = ST5Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[4].Station_BitW[15] = ST5Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[5].Station_BitW[0] = ST6Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[5].Station_BitW[1] = ST6Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[5].Station_BitW[2] = ST6Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[5].Station_BitW[3] = ST6Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[5].Station_BitW[4] = ST6Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[5].Station_BitW[5] = ST6Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[5].Station_BitW[6] = ST6Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[5].Station_BitW[7] = ST6Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[5].Station_BitW[8] = ST6Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[5].Station_BitW[9] = ST6Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[5].Station_BitW[10] = ST6Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[5].Station_BitW[11] = ST6Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[5].Station_BitW[12] = ST6Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[5].Station_BitW[13] = ST6Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[5].Station_BitW[14] = ST6Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[5].Station_BitW[15] = ST6Station_Global.stationPCToPLC.bIn7;




                        objw.ClassStationWArr_15[6].Station_BitW[0] = ST7Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[6].Station_BitW[1] = ST7Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[6].Station_BitW[2] = ST7Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[6].Station_BitW[3] = ST7Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[6].Station_BitW[4] = ST7Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[6].Station_BitW[5] = ST7Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[6].Station_BitW[6] = ST7Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[6].Station_BitW[7] = ST7Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[6].Station_BitW[8] = ST7Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[6].Station_BitW[9] = ST7Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[6].Station_BitW[10] = ST7Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[6].Station_BitW[11] = ST7Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[6].Station_BitW[12] = ST7Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[6].Station_BitW[13] = ST7Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[6].Station_BitW[14] = ST7Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[6].Station_BitW[15] = ST7Station_Global.stationPCToPLC.bIn7;

                        objw.ClassStationWArr_15[7].Station_BitW[0] = ST8Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[7].Station_BitW[1] = ST8Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[7].Station_BitW[2] = ST8Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[7].Station_BitW[3] = ST8Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[7].Station_BitW[4] = ST8Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[7].Station_BitW[5] = ST8Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[7].Station_BitW[6] = ST8Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[7].Station_BitW[7] = ST8Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[7].Station_BitW[8] = ST8Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[7].Station_BitW[9] = ST8Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[7].Station_BitW[10] = ST8Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[7].Station_BitW[11] = ST8Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[7].Station_BitW[12] = ST8Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[7].Station_BitW[13] = ST8Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[7].Station_BitW[14] = ST8Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[7].Station_BitW[15] = ST8Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[8].Station_BitW[0] = ST9Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[8].Station_BitW[1] = ST9Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[8].Station_BitW[2] = ST9Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[8].Station_BitW[3] = ST9Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[8].Station_BitW[4] = ST9Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[8].Station_BitW[5] = ST9Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[8].Station_BitW[6] = ST9Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[8].Station_BitW[7] = ST9Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[8].Station_BitW[8] = ST9Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[8].Station_BitW[9] = ST9Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[8].Station_BitW[10] = ST9Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[8].Station_BitW[11] = ST9Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[8].Station_BitW[12] = ST9Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[8].Station_BitW[13] = ST9Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[8].Station_BitW[14] = ST9Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[8].Station_BitW[15] = ST9Station_Global.stationPCToPLC.bIn7;

                        objw.ClassStationWArr_15[9].Station_BitW[0] = ST10Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[9].Station_BitW[1] = ST10Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[9].Station_BitW[2] = ST10Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[9].Station_BitW[3] = ST10Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[9].Station_BitW[4] = ST10Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[9].Station_BitW[5] = ST10Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[9].Station_BitW[6] = ST10Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[9].Station_BitW[7] = ST10Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[9].Station_BitW[8] = ST10Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[9].Station_BitW[9] = ST10Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[9].Station_BitW[10] = ST10Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[9].Station_BitW[11] = ST10Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[9].Station_BitW[12] = ST10Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[9].Station_BitW[13] = ST10Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[9].Station_BitW[14] = ST10Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[9].Station_BitW[15] = ST10Station_Global.stationPCToPLC.bIn7;


                        objw.ClassStationWArr_15[10].Station_BitW[0] = ST11Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[10].Station_BitW[1] = ST11Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[10].Station_BitW[2] = ST11Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[10].Station_BitW[3] = ST11Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[10].Station_BitW[4] = ST11Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[10].Station_BitW[5] = ST11Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[10].Station_BitW[6] = ST11Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[10].Station_BitW[7] = ST11Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[10].Station_BitW[8] = ST11Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[10].Station_BitW[9] = ST11Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[10].Station_BitW[10] = ST11Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[10].Station_BitW[11] = ST11Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[10].Station_BitW[12] = ST11Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[10].Station_BitW[13] = ST11Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[10].Station_BitW[14] = ST11Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[10].Station_BitW[15] = ST11Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[11].Station_BitW[0] = ST12Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[11].Station_BitW[1] = ST12Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[11].Station_BitW[2] = ST12Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[11].Station_BitW[3] = ST12Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[11].Station_BitW[4] = ST12Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[11].Station_BitW[5] = ST12Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[11].Station_BitW[6] = ST12Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[11].Station_BitW[7] = ST12Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[11].Station_BitW[8] = ST12Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[11].Station_BitW[9] = ST12Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[11].Station_BitW[10] = ST12Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[11].Station_BitW[11] = ST12Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[11].Station_BitW[12] = ST12Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[11].Station_BitW[13] = ST12Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[11].Station_BitW[14] = ST12Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[11].Station_BitW[15] = ST12Station_Global.stationPCToPLC.bIn7;


                        objw.ClassStationWArr_15[12].Station_BitW[0] = ST13Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[12].Station_BitW[1] = ST13Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[12].Station_BitW[2] = ST13Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[12].Station_BitW[3] = ST13Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[12].Station_BitW[4] = ST13Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[12].Station_BitW[5] = ST13Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[12].Station_BitW[6] = ST13Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[12].Station_BitW[7] = ST13Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[12].Station_BitW[8] = ST13Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[12].Station_BitW[9] = ST13Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[12].Station_BitW[10] = ST13Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[12].Station_BitW[11] = ST13Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[12].Station_BitW[12] = ST13Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[12].Station_BitW[13] = ST13Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[12].Station_BitW[14] = ST13Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[12].Station_BitW[15] = ST13Station_Global.stationPCToPLC.bIn7;



                        objw.ClassStationWArr_15[13].Station_BitW[0] = ST14Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[13].Station_BitW[1] = ST14Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[13].Station_BitW[2] = ST14Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[13].Station_BitW[3] = ST14Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[13].Station_BitW[4] = ST14Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[13].Station_BitW[5] = ST14Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[13].Station_BitW[6] = ST14Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[13].Station_BitW[7] = ST14Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[13].Station_BitW[8] = ST14Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[13].Station_BitW[9] = ST14Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[13].Station_BitW[10] = ST14Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[13].Station_BitW[11] = ST14Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[13].Station_BitW[12] = ST14Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[13].Station_BitW[13] = ST14Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[13].Station_BitW[14] = ST14Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[13].Station_BitW[15] = ST14Station_Global.stationPCToPLC.bIn7;


                        objw.ClassStationWArr_15[14].Station_BitW[0] = ST15Station_Global.stationPCToPLC.bInitialST;
                        objw.ClassStationWArr_15[14].Station_BitW[1] = ST15Station_Global.stationPCToPLC.bDisableBT;
                        objw.ClassStationWArr_15[14].Station_BitW[2] = ST15Station_Global.stationPCToPLC.bCycleStartBT;
                        objw.ClassStationWArr_15[14].Station_BitW[3] = ST15Station_Global.stationPCToPLC.bSignSTstartBT;
                        objw.ClassStationWArr_15[14].Station_BitW[4] = ST15Station_Global.stationPCToPLC.bGT2CheckBT;
                        objw.ClassStationWArr_15[14].Station_BitW[5] = ST15Station_Global.stationPCToPLC.bPressCheckBT;
                        objw.ClassStationWArr_15[14].Station_BitW[6] = ST15Station_Global.stationPCToPLC.bClearCounter;
                        objw.ClassStationWArr_15[14].Station_BitW[7] = ST15Station_Global.stationPCToPLC.bOtherByPass1;
                        objw.ClassStationWArr_15[14].Station_BitW[8] = ST15Station_Global.stationPCToPLC.bOtherByPass2;
                        objw.ClassStationWArr_15[14].Station_BitW[9] = ST15Station_Global.stationPCToPLC.bSpotCheckBT;
                        objw.ClassStationWArr_15[14].Station_BitW[10] = ST15Station_Global.stationPCToPLC.bIn2;
                        objw.ClassStationWArr_15[14].Station_BitW[11] = ST15Station_Global.stationPCToPLC.bIn3;
                        objw.ClassStationWArr_15[14].Station_BitW[12] = ST15Station_Global.stationPCToPLC.bIn4;
                        objw.ClassStationWArr_15[14].Station_BitW[13] = ST15Station_Global.stationPCToPLC.bIn5;
                        objw.ClassStationWArr_15[14].Station_BitW[14] = ST15Station_Global.stationPCToPLC.bIn6;
                        objw.ClassStationWArr_15[14].Station_BitW[15] = ST15Station_Global.stationPCToPLC.bIn7;
                    }
                    break;

                case nameof(ClassOP20VibratingArrW):
                    {
                        var objw = output.SiemensOtherInfo.ObjW.JObjToClass<ClassOP20VibratingArrW>();
                        output.SiemensOtherInfo.ObjW = objw;
                        objw.OP20VibratingArr = VibratingPCToPLC_Global.Vibratings;
                    }
                    break;
                default:
                    break;
            }

        }
        public async Task OnSmartOtherCallBack(SiemensOtherSignalROutput output)
        {
            if (output.SiemensInfo.Name == "OP20")
            {
                ParseSignalRObjR(output);
                ParseSignalRObjW(output);
                await _smartService.SendSmartOtherToServiceAsync(output);
                CopyArrToAlarms();
            }
        }

        public Task OnSmartStateCallBack(GetConnSiemensesOutput output)
        {
            foreach (var item in output.SiemensOutputs)
            {
                if (item.Ip == "192.168.0.20")
                {

                    if (item.ItemStatus == EnumPLC_Item_Status.Run)
                    {
                        PlcState = 2;
                    }
                    else if (item.ItemStatus == EnumPLC_Item_Status.Stop)
                    {
                        PlcState = 1;
                    }
                }
            }
            return Task.CompletedTask;
        }

        #endregion


        #region 报警数组赋值

        private void CopyArrToAlarms()
        {
            //工站+系统
            Array.Copy(SystemPLCToPC_Global.nHMIDisplay_SYS, 0, Alarm_Global.Alarms, 0, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDisplay_DoorEstopAlarm, 0, Alarm_Global.Alarms, 16, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDisplay_EstopAlarm, 0, Alarm_Global.Alarms, 32, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDisplay_OtherDevice, 0, Alarm_Global.Alarms, 48, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDisplay_Connect, 0, Alarm_Global.Alarms, 64, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDispaly_NoMaterial, 0, Alarm_Global.Alarms, 80, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDispaly_Warn1, 0, Alarm_Global.Alarms, 96, 16);
            Array.Copy(SystemPLCToPC_Global.nHMIDispaly_Warn2, 0, Alarm_Global.Alarms, 112, 16);


            Array.Copy(ST1Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 128, 16);
            Array.Copy(ST1Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 144, 16);
            Array.Copy(ST2Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 160, 16);
            Array.Copy(ST2Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 176, 16);
            Array.Copy(ST3Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 192, 16);
            Array.Copy(ST3Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 208, 16);
            Array.Copy(ST4Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 224, 16);
            Array.Copy(ST4Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 240, 16);
            Array.Copy(ST5Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 256, 16);
            Array.Copy(ST5Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 272, 16);
            Array.Copy(ST6Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 288, 16);
            Array.Copy(ST6Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 304, 16);
            Array.Copy(ST7Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 320, 16);
            Array.Copy(ST7Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 336, 16);
            Array.Copy(ST8Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 352, 16);
            Array.Copy(ST8Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 368, 16);
            Array.Copy(ST9Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 384, 16);
            Array.Copy(ST9Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 400, 16);
            Array.Copy(ST10Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 416, 16);
            Array.Copy(ST10Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 432, 16);
            Array.Copy(ST11Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 448, 16);
            Array.Copy(ST11Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 464, 16);
            Array.Copy(ST12Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 480, 16);
            Array.Copy(ST12Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 496, 16);
            Array.Copy(ST13Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 512, 16);
            Array.Copy(ST13Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 528, 16);
            Array.Copy(ST14Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 544, 16);
            Array.Copy(ST14Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 560, 16);
            Array.Copy(ST15Station_Global.stationPLCToPC.nOtherAlarmDisplay, 0, Alarm_Global.Alarms, 576, 16);
            Array.Copy(ST15Station_Global.stationPLCToPC.nOtherAlarmDisplay2, 0, Alarm_Global.Alarms, 592, 16);

            //气缸+伺服
            Array.Copy(ST01GKCarrySpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 608, 16);
            Array.Copy(ST01GKCarryUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 624, 16);
            Array.Copy(ST01WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 640, 16);
            Array.Copy(ST01WeighJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 656, 16);
            Array.Copy(ST01LoadMaterialChuoWeiCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 672, 16);
            Array.Copy(ST01CarryInhaleCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 688, 16);
            Array.Copy(ST02TestHighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 704, 16);
            Array.Copy(ST04JackCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 720, 16);
            Array.Copy(ST04SpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 736, 16);
            Array.Copy(ST04Door01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 752, 16);
            Array.Copy(ST04BowlCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 768, 16);
            Array.Copy(ST04Door02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 784, 16);
            Array.Copy(ST04Vibrator01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 800, 16);
            Array.Copy(ST04Vibrator02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 816, 16);
            Array.Copy(ST05UpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 832, 16);
            Array.Copy(ST05ClampCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 848, 16);
            Array.Copy(ST05InhaleCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 864, 16);
            Array.Copy(ST06SpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 880, 16);
            Array.Copy(ST06SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 896, 16);
            Array.Copy(ST06WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 912, 16);
            Array.Copy(ST06Clamp12Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 928, 16);
            Array.Copy(ST08JackCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 944, 16);
            Array.Copy(ST08SpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 960, 16);
            Array.Copy(ST08Door01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 976, 16);
            Array.Copy(ST08BowlCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 992, 16);
            Array.Copy(ST08Door02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1008, 16);
            Array.Copy(ST08Vibrator01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1024, 16);
            Array.Copy(ST08Vibrator02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1040, 16);
            Array.Copy(ST08Door03Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1056, 16);
            Array.Copy(ST10UpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1072, 16);
            Array.Copy(ST10InhaleCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1088, 16);
            Array.Copy(ST10ClampCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 1104, 16);


            Array.Copy(ST11SpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 70 * 16, 16);
            Array.Copy(ST11SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 71 * 16, 16);
            Array.Copy(ST11WeighUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 72 * 16, 16);
            Array.Copy(ST11Clamp12Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 73 * 16, 16);
            Array.Copy(ST12SpinCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 74 * 16, 16);
            Array.Copy(ST12UpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 75 * 16, 16);
            Array.Copy(ST12SpinUpDownCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 76 * 16, 16);
            Array.Copy(ST12PressInCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 77 * 16, 16);
            Array.Copy(ST12JiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 78 * 16, 16);
            Array.Copy(ST12SpinJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 79 * 16, 16);
            Array.Copy(ST12InhaleCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 80 * 16, 16);
            Array.Copy(ST13PressInCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 81 * 16, 16);
            Array.Copy(ST14CarryUpDown01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 82 * 16, 16);

            Array.Copy(ST14CarryUpDown02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 83 * 16, 16);
            Array.Copy(ST14ChuoWei02Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 84 * 16, 16);
            Array.Copy(ST14ChuoWei01Cy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 85 * 16, 16);
            Array.Copy(ST14CarryJiaZhuaCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 86 * 16, 16);
            Array.Copy(ST15DownPushCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 87 * 16, 16);
            Array.Copy(ST15InhaleCy.cylinderPLCToPC_Global.nHmiDisplay, 0, Alarm_Global.Alarms, 88 * 16, 16);

            Array.Copy(ST4Servo_Global.ServoPLCToPC_Global.nAralmHMIdiaplay, 0, Alarm_Global.Alarms, 89 * 16, 16);
            Array.Copy(ST8Servo_Global.ServoPLCToPC_Global.nAralmHMIdiaplay, 0, Alarm_Global.Alarms, 90 * 16, 16);
        }
        #endregion

        //#region 后台线程
        //private ManualResetEvent manualReset = new ManualResetEvent(false);
        //private void ThreadSendObjw()
        //{
        //    while (!manualReset.WaitOne(10))
        //    {
        //        try
        //        {

        //        }
        //        catch (Exception ex)
        //        {
        //            FileLog.Log(ex.ToString());
        //        }
        //    }
        //}
        //#endregion

    }
}
